nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

commit 4c91900314e1cdf683676da6f25581012b819712
parent 5c08af77486e2f60565b107c50a62dd1f8d424e4
Author: Nikolay Korotkiy <sikmir@gmail.com>
Date:   Fri, 26 Nov 2021 10:18:12 +0300

Add agunua

Diffstat:
Mpkgs/default.nix | 1+
Apkgs/gemini/agunua/default.nix | 36++++++++++++++++++++++++++++++++++++
2 files changed, 37 insertions(+), 0 deletions(-)

diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -129,6 +129,7 @@ lib.makeScope newScope ( ### GEMINI + agunua = callPackage ./gemini/agunua { }; astronaut = callPackage ./gemini/astronaut { }; comitium = callPackage ./gemini/comitium { }; gemcert = callPackage ./gemini/gemcert { }; diff --git a/pkgs/gemini/agunua/default.nix b/pkgs/gemini/agunua/default.nix @@ -0,0 +1,36 @@ +{ lib, fetchFromGitLab, python3Packages }: + +python3Packages.buildPythonApplication rec { + pname = "agunua"; + version = "1.5"; + + src = fetchFromGitLab { + domain = "framagit.org"; + owner = "bortzmeyer"; + repo = pname; + rev = "release-${version}"; + hash = "sha256-DevVruaIYj0jfvBRWT3f1s2HF9Jb5yv//hNd6lmOlb0="; + }; + + propagatedBuildInputs = with python3Packages; [ + pyopenssl + pysocks + netaddr + ]; + + checkInputs = with python3Packages; [ pytestCheckHook ]; + + disabledTestPaths = [ + "tests/test_egsam.py" + "tests/test_full.py" + "tests/test_random_projects.py" + "tests/test_torture.py" + ]; + + meta = with lib; { + description = "Python library for the development of Gemini clients"; + inherit (src.meta) homepage; + license = licenses.gpl2Only; + maintainers = [ maintainers.sikmir ]; + }; +}