nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 27 lines 628 B view raw
1{ lib, buildPythonPackage, fetchPypi 2, mock, pytest 3, six 4}: 5buildPythonPackage rec { 6 pname = "PyHamcrest"; 7 version = "2.0.3"; 8 9 src = fetchPypi { 10 inherit pname version; 11 sha256 = "dfb19cf6d71743e086fbb761ed7faea5aacbc8ec10c17a08b93ecde39192a3db"; 12 }; 13 14 checkInputs = [ mock pytest ]; 15 propagatedBuildInputs = [ six ]; 16 17 doCheck = false; # pypi tarball does not include tests 18 19 meta = with lib; { 20 homepage = "https://github.com/hamcrest/PyHamcrest"; 21 description = "Hamcrest framework for matcher objects"; 22 license = licenses.bsd3; 23 maintainers = with maintainers; [ 24 alunduil 25 ]; 26 }; 27}