nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 71 lines 1.4 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 fetchpatch2, 6 webtest, 7 zope-component, 8 hupper, 9 pastedeploy, 10 plaster, 11 plaster-pastedeploy, 12 repoze-lru, 13 setuptools, 14 translationstring, 15 venusian, 16 webob, 17 zope-deprecation, 18 zope-interface, 19 pytestCheckHook, 20}: 21 22buildPythonPackage rec { 23 pname = "pyramid"; 24 version = "2.0.2"; 25 pyproject = true; 26 27 src = fetchPypi { 28 inherit pname version; 29 hash = "sha256-NyE4pzjkIWU1zHbczm7d1aGqypUTDyNU+4NCZMBvGN4="; 30 }; 31 32 patches = [ 33 (fetchpatch2 { 34 name = "python-3.13-compat.patch"; 35 url = "https://github.com/Pylons/pyramid/commit/1079613eb07e2a67454378e1fc28815dfd64bb82.patch"; 36 hash = "sha256-/jxbA2q0kAeXDvIwhNkO8h4KbKtdquWXAH7/0lV8MXc="; 37 }) 38 ]; 39 40 build-system = [ setuptools ]; 41 42 dependencies = [ 43 hupper 44 pastedeploy 45 plaster 46 plaster-pastedeploy 47 repoze-lru 48 setuptools # for pkg_resources 49 translationstring 50 venusian 51 webob 52 zope-deprecation 53 zope-interface 54 ]; 55 56 nativeCheckInputs = [ 57 webtest 58 zope-component 59 pytestCheckHook 60 ]; 61 62 pythonImportsCheck = [ "pyramid" ]; 63 64 meta = { 65 description = "Python web framework"; 66 homepage = "https://trypyramid.com/"; 67 changelog = "https://github.com/Pylons/pyramid/blob/${version}/CHANGES.rst"; 68 license = lib.licenses.bsd0; 69 maintainers = [ ]; 70 }; 71}