default.nix (780B)
1 { 2 lib, 3 fetchFromGitHub, 4 python3Packages, 5 pipfile, 6 }: 7 8 python3Packages.buildPythonPackage rec { 9 pname = "c2cwsgiutils"; 10 version = "5.1.5"; 11 pyproject = true; 12 13 src = fetchFromGitHub { 14 owner = "camptocamp"; 15 repo = "c2cwsgiutils"; 16 rev = version; 17 hash = "sha256-lPE21SLMgfnNu0qiM3e2qz6zJJ7u5YaNkqOSNTF1FVg="; 18 }; 19 20 dependencies = with python3Packages; [ 21 boltons 22 lxml 23 netifaces 24 pipfile 25 psycopg2 26 pyramid 27 requests 28 setuptools 29 ]; 30 31 doCheck = false; 32 pythonImportsCheck = [ "c2cwsgiutils" ]; 33 34 meta = { 35 description = "Common utilities for Camptocamp WSGI applications"; 36 homepage = "https://github.com/camptocamp/c2cwsgiutils"; 37 license = lib.licenses.bsd2; 38 maintainers = [ lib.maintainers.sikmir ]; 39 }; 40 }