nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at r-updates 35 lines 759 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 setuptools, 6 twisted, 7}: 8 9buildPythonPackage rec { 10 pname = "setuptools-trial"; 11 version = "0.6.0"; 12 pyproject = true; 13 14 src = fetchPypi { 15 pname = "setuptools_trial"; 16 inherit version; 17 hash = "sha256-FCIPj3YcSLoeJSbwhxlQd89U+tcJizgs4iBCLw/1mxI="; 18 }; 19 20 nativeBuildInputs = [ setuptools ]; 21 22 propagatedBuildInputs = [ twisted ]; 23 24 # Couldn't get tests working 25 doCheck = false; 26 27 pythonImportsCheck = [ "setuptools_trial" ]; 28 29 meta = { 30 description = "Setuptools plugin that makes unit tests execute with trial instead of pyunit"; 31 homepage = "https://github.com/rutsky/setuptools-trial"; 32 license = lib.licenses.bsd2; 33 maintainers = with lib.maintainers; [ ryansydnor ]; 34 }; 35}