pythonPackages.shouldbe: refactor move to python-modules
This commit is contained in:
parent
283eb6f7d1
commit
009d784a0d
28
pkgs/development/python-modules/shouldbe/default.nix
Normal file
28
pkgs/development/python-modules/shouldbe/default.nix
Normal file
@ -0,0 +1,28 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, nose
|
||||
, forbiddenfruit
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.1.0";
|
||||
pname = "shouldbe";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "07pchxpv1xvjbck0xy44k3a1jrvklg0wbyccn14w0i7d135d4174";
|
||||
};
|
||||
|
||||
buildInputs = [ nose ];
|
||||
propagatedBuildInputs = [ forbiddenfruit ];
|
||||
|
||||
doCheck = false; # Segmentation fault on py 3.5
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Python Assertion Helpers inspired by Shouldly";
|
||||
homepage = https://pypi.python.org/pypi/shouldbe/;
|
||||
license = licenses.mit;
|
||||
};
|
||||
|
||||
}
|
@ -3722,27 +3722,7 @@ in {
|
||||
|
||||
shortuuid = callPackage ../development/python-modules/shortuuid { };
|
||||
|
||||
shouldbe = buildPythonPackage rec {
|
||||
version = "0.1.0";
|
||||
name = "shouldbe-${version}";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/s/shouldbe/${name}.tar.gz";
|
||||
sha256 = "07pchxpv1xvjbck0xy44k3a1jrvklg0wbyccn14w0i7d135d4174";
|
||||
};
|
||||
|
||||
buildInputs = with self; [ nose ];
|
||||
|
||||
propagatedBuildInputs = with self; [ forbiddenfruit ];
|
||||
|
||||
doCheck = false; # Segmentation fault on py 3.5
|
||||
|
||||
meta = {
|
||||
description = "Python Assertion Helpers inspired by Shouldly";
|
||||
homepage = https://pypi.python.org/pypi/shouldbe/;
|
||||
license = licenses.mit;
|
||||
};
|
||||
};
|
||||
shouldbe = callPackage ../development/python-modules/shouldbe { };
|
||||
|
||||
simplejson = callPackage ../development/python-modules/simplejson { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user