pythonPackages.pretend: Move to own file

This commit is contained in:
Elis Hirwing 2018-03-31 20:35:43 +02:00 committed by Frederik Rietdijk
parent 902f7f2b87
commit 0132eaa86a
2 changed files with 20 additions and 17 deletions

View file

@ -0,0 +1,19 @@
{ stdenv, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
pname = "pretend";
version = "1.0.8";
src = fetchPypi {
inherit pname version;
sha256 = "0r5r7ygz9m6d2bklflbl84cqhjkc2q12xgis8268ygjh30g2q3wk";
};
# No tests in archive
doCheck = false;
meta = with stdenv.lib; {
homepage = https://github.com/alex/pretend;
license = licenses.bsd3;
};
}

View file

@ -1828,23 +1828,7 @@ in {
pkginfo = callPackage ../development/python-modules/pkginfo { };
pretend = buildPythonPackage rec {
name = "pretend-1.0.8";
src = pkgs.fetchurl {
url = "mirror://pypi/p/pretend/pretend-1.0.8.tar.gz";
sha256 = "0r5r7ygz9m6d2bklflbl84cqhjkc2q12xgis8268ygjh30g2q3wk";
};
# No tests in archive
doCheck = false;
meta = {
homepage = https://github.com/alex/pretend;
license = licenses.bsd3;
};
};
pretend = callPackage ../development/python-modules/pretend { };
detox = self.buildPythonPackage rec {
name = "detox-0.10.0";