Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ buildPythonPackage 2, fetchFromGitHub 3, pytest 4, stdenv 5}: 6 7buildPythonPackage rec { 8 pname = "pytest-helpers-namespace"; 9 version = "2019.1.8"; 10 11 src = fetchFromGitHub { 12 owner = "saltstack"; 13 repo = pname; 14 rev = "v${version}"; 15 sha256 = "0z9f25d2wpf3lnqzmmnrlvl5b1f7kqwjjf4nzs9x2bpf91s5zny1"; 16 }; 17 18 buildInputs = [ pytest ]; 19 20 checkInputs = [ pytest ]; 21 22 checkPhase = '' 23 pytest 24 ''; 25 26 # The tests fail with newest pytest. They passed with pytest_3, which no longer exists 27 doCheck = false; 28 29 meta = with stdenv.lib; { 30 homepage = "https://github.com/saltstack/pytest-helpers-namespace"; 31 description = "PyTest Helpers Namespace"; 32 license = licenses.asl20; 33 maintainers = [ maintainers.kiwi ]; 34 }; 35}