nur-packages

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

default.nix (710B)


      1 { lib, fetchFromGitHub, python3Packages, pipfile }:
      2 
      3 python3Packages.buildPythonPackage rec {
      4   pname = "c2cwsgiutils";
      5   version = "5.0.0";
      6 
      7   src = fetchFromGitHub {
      8     owner = "camptocamp";
      9     repo = pname;
     10     rev = version;
     11     hash = "sha256-O+uh+9NurjnohCbpxJxrpvUUkb1gPHsqvG7+F4WNjQg=";
     12   };
     13 
     14   propagatedBuildInputs = with python3Packages; [
     15     boltons
     16     lxml
     17     netifaces
     18     pipfile
     19     psycopg2
     20     pyramid
     21     requests
     22   ];
     23 
     24   doCheck = false;
     25   pythonImportsCheck = [ "c2cwsgiutils" ];
     26 
     27   meta = with lib; {
     28     description = "Common utilities for Camptocamp WSGI applications";
     29     inherit (src.meta) homepage;
     30     license = licenses.bsd2;
     31     maintainers = [ maintainers.sikmir ];
     32   };
     33 }