Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at python-updates 54 lines 1.1 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pytestCheckHook, 6 setuptools, 7 six, 8}: 9 10buildPythonPackage rec { 11 pname = "paste"; 12 version = "3.10.1"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "pasteorg"; 17 repo = "paste"; 18 tag = version; 19 hash = "sha256-NY/h6hbpluEu1XAv3o4mqoG+l0LXfM1dw7+G0Rm1E4o="; 20 }; 21 22 postPatch = '' 23 patchShebangs tests/cgiapp_data/ 24 ''; 25 26 build-system = [ setuptools ]; 27 28 dependencies = [ 29 setuptools 30 six 31 ]; 32 33 nativeCheckInputs = [ pytestCheckHook ]; 34 35 preCheck = '' 36 # needs to be modified after Sat, 1 Jan 2005 12:00:00 GMT 37 touch tests/urlparser_data/secured.txt 38 ''; 39 40 disabledTests = [ 41 # pkg_resources deprecation warning 42 "test_form" 43 ]; 44 45 pythonNamespaces = [ "paste" ]; 46 47 meta = { 48 description = "Tools for using a Web Server Gateway Interface stack"; 49 homepage = "https://pythonpaste.readthedocs.io/"; 50 changelog = "https://github.com/pasteorg/paste/blob/${version}/docs/news.txt"; 51 license = lib.licenses.mit; 52 maintainers = [ ]; 53 }; 54}