nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at r-updates 50 lines 925 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pytestCheckHook, 6 six, 7 paste, 8 setuptools, 9 pastedeploy, 10}: 11 12buildPythonPackage rec { 13 pname = "pastescript"; 14 version = "3.7.0"; 15 pyproject = true; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-U28CjftuUynGezIpnhyTA/kSZOSXk8xpFusKc+tKJSE="; 20 }; 21 22 build-system = [ setuptools ]; 23 24 propagatedBuildInputs = [ 25 paste 26 pastedeploy 27 six 28 ]; 29 30 # test suite seems to unset PYTHONPATH 31 doCheck = false; 32 33 nativeCheckInputs = [ pytestCheckHook ]; 34 35 disabledTestPaths = [ "appsetup/testfiles" ]; 36 37 pythonImportsCheck = [ 38 "paste.script" 39 "paste.deploy" 40 "paste.util" 41 ]; 42 43 meta = { 44 description = "Pluggable command-line frontend, including commands to setup package file layouts"; 45 mainProgram = "paster"; 46 homepage = "https://github.com/cdent/pastescript/"; 47 license = lib.licenses.mit; 48 maintainers = [ ]; 49 }; 50}