mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 08:13:04 +00:00
27 lines
521 B
Nix
27 lines
521 B
Nix
{ stdenv
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, nose
|
|
, forbiddenfruit
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
version = "0.1.2";
|
|
pname = "shouldbe";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "16zbvjxf71dl4yfbgcr6idyim3mdrfvix1dv8b95p0s9z07372pj";
|
|
};
|
|
|
|
checkInputs = [ nose ];
|
|
propagatedBuildInputs = [ forbiddenfruit ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Python Assertion Helpers inspired by Shouldly";
|
|
homepage = https://pypi.python.org/pypi/shouldbe/;
|
|
license = licenses.mit;
|
|
};
|
|
|
|
}
|