pythonPackages.sure: refactor move to python-modules
This commit is contained in:
parent
e9207374e1
commit
e502cd4b3b
32
pkgs/development/python-modules/sure/default.nix
Normal file
32
pkgs/development/python-modules/sure/default.nix
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, nose
|
||||||
|
, six
|
||||||
|
, mock
|
||||||
|
, pkgs
|
||||||
|
, isPyPy
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "sure";
|
||||||
|
version = "1.2.24";
|
||||||
|
disabled = isPyPy;
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1lyjq0rvkbv585dppjdq90lbkm6gyvag3wgrggjzyh7cpyh5c12w";
|
||||||
|
};
|
||||||
|
|
||||||
|
LC_ALL="en_US.UTF-8";
|
||||||
|
|
||||||
|
buildInputs = [ nose pkgs.glibcLocales ];
|
||||||
|
propagatedBuildInputs = [ six mock ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Utility belt for automated testing";
|
||||||
|
homepage = https://falcao.it/sure/;
|
||||||
|
license = licenses.gpl3Plus;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -3920,29 +3920,7 @@ in {
|
|||||||
|
|
||||||
subunit = callPackage ../development/python-modules/subunit { };
|
subunit = callPackage ../development/python-modules/subunit { };
|
||||||
|
|
||||||
sure = buildPythonPackage rec {
|
sure = callPackage ../development/python-modules/sure { };
|
||||||
name = "sure-${version}";
|
|
||||||
version = "1.2.24";
|
|
||||||
|
|
||||||
LC_ALL="en_US.UTF-8";
|
|
||||||
|
|
||||||
disabled = isPyPy;
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/s/sure/${name}.tar.gz";
|
|
||||||
sha256 = "1lyjq0rvkbv585dppjdq90lbkm6gyvag3wgrggjzyh7cpyh5c12w";
|
|
||||||
};
|
|
||||||
|
|
||||||
buildInputs = with self; [ nose pkgs.glibcLocales ];
|
|
||||||
|
|
||||||
propagatedBuildInputs = with self; [ six mock ];
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "Utility belt for automated testing";
|
|
||||||
homepage = https://falcao.it/sure/;
|
|
||||||
license = licenses.gpl3Plus;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
structlog = callPackage ../development/python-modules/structlog { };
|
structlog = callPackage ../development/python-modules/structlog { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user