at master 853 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 setuptools-scm, 7 pyramid, 8 pytestCheckHook, 9 pytest-cache, 10 webtest, 11 marshmallow, 12 colander, 13}: 14 15buildPythonPackage rec { 16 pname = "cornice"; 17 version = "6.1.0"; 18 pyproject = true; 19 20 src = fetchFromGitHub { 21 owner = "Cornices"; 22 repo = "cornice"; 23 rev = version; 24 hash = "sha256-jAf8unDPpr/ZAWkb9LhOW4URjwcRnaYVUKmfnYBStTg="; 25 }; 26 27 build-system = [ 28 setuptools 29 setuptools-scm 30 ]; 31 32 dependencies = [ pyramid ]; 33 34 nativeCheckInputs = [ 35 pytestCheckHook 36 pytest-cache 37 webtest 38 marshmallow 39 colander 40 ]; 41 pythonImportsCheck = [ "cornice" ]; 42 43 meta = with lib; { 44 homepage = "https://github.com/mozilla-services/cornice"; 45 description = "Build Web Services with Pyramid"; 46 license = licenses.mpl20; 47 maintainers = [ ]; 48 }; 49}