depot/third_party/nixpkgs/pkgs/development/python-modules/preggy/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

25 lines
597 B
Nix

{ lib, buildPythonPackage, fetchPypi, six, unidecode, nose, yanc }:
buildPythonPackage rec {
pname = "preggy";
version = "1.4.4";
propagatedBuildInputs = [ six unidecode ];
checkInputs = [ nose yanc ];
src = fetchPypi {
inherit pname version;
sha256 = "25ba803afde4f35ef543a60915ced2e634926235064df717c3cb3e4e3eb4670c";
};
checkPhase = ''
nosetests .
'';
meta = with lib; {
description = "Assertion library for Python";
homepage = "http://heynemann.github.io/preggy/";
license = licenses.mit;
maintainers = with maintainers; [ jluttine ];
};
}