Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.0 kB · 58 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859{ lib, buildPythonPackage, pythonOlder, fetchPypi, django, colorama, coverage, unidecode, lxml}:
buildPythonPackage rec { pname = "green"; version = "3.4.3"; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi { inherit pname version; hash = "sha256-iGXQt3tcsThR3WAaWK0sgry1LafKEG8FOMV4fxJzaKY="; };
patches = [ ./tests.patch ];
postPatch = '' substituteInPlace green/test/test_integration.py \ --subst-var-by green "$out/bin/green" '';
propagatedBuildInputs = [ colorama coverage unidecode lxml ];
# let green run it's own test suite checkPhase = '' $out/bin/green -tvvv \ green.test.test_version \ green.test.test_cmdline \ green.test.test_command '';
pythonImportsCheck = [ "green" ];
meta = with lib; { description = "Python test runner"; homepage = "https://github.com/CleanCut/green"; license = licenses.mit; maintainers = with maintainers; [ ]; };}