nur-packages

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

default.nix (835B)


      1 { lib, fetchFromGitLab, python3Packages }:
      2 
      3 python3Packages.buildPythonApplication rec {
      4   pname = "agunua";
      5   version = "1.7.1";
      6 
      7   src = fetchFromGitLab {
      8     domain = "framagit.org";
      9     owner = "bortzmeyer";
     10     repo = "agunua";
     11     rev = "release-${version}";
     12     hash = "sha256-sVZ4HrFH3bL6FHn8B43rsya3vggIuCXdx6rPh+LG7MA=";
     13   };
     14 
     15   propagatedBuildInputs = with python3Packages; [
     16     pyopenssl
     17     pysocks
     18     netaddr
     19   ];
     20 
     21   nativeCheckInputs = with python3Packages; [ pytestCheckHook ];
     22 
     23   preCheck = ''
     24     export HOME=$TMPDIR
     25   '';
     26 
     27   disabledTestPaths = [
     28     "tests/test_egsam.py"
     29     "tests/test_full.py"
     30   ];
     31 
     32   meta = with lib; {
     33     description = "Python library for the development of Gemini clients";
     34     inherit (src.meta) homepage;
     35     license = licenses.gpl2Only;
     36     maintainers = [ maintainers.sikmir ];
     37   };
     38 }