2018-10-26 17:21:51 +00:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, nose
|
|
|
|
, forbiddenfruit
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2019-04-02 19:49:50 +00:00
|
|
|
version = "0.1.2";
|
2018-10-26 17:21:51 +00:00
|
|
|
pname = "shouldbe";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-04-02 19:49:50 +00:00
|
|
|
sha256 = "16zbvjxf71dl4yfbgcr6idyim3mdrfvix1dv8b95p0s9z07372pj";
|
2018-10-26 17:21:51 +00:00
|
|
|
};
|
|
|
|
|
2019-04-05 09:06:50 +00:00
|
|
|
checkInputs = [ nose ];
|
2018-10-26 17:21:51 +00:00
|
|
|
propagatedBuildInputs = [ forbiddenfruit ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Python Assertion Helpers inspired by Shouldly";
|
|
|
|
homepage = https://pypi.python.org/pypi/shouldbe/;
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|