nur-packages

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

default.nix (840B)


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