pythonPackages.doctest-ignore-unicode: Move to own file

This commit is contained in:
Elis Hirwing 2018-04-03 15:02:46 +02:00 committed by Frederik Rietdijk
parent 98c682e0d2
commit 1a09c2bf20
2 changed files with 20 additions and 17 deletions

View File

@ -0,0 +1,19 @@
{ stdenv, buildPythonPackage, fetchPypi, nose }:
buildPythonPackage rec {
pname = "doctest-ignore-unicode";
version = "0.1.2";
src = fetchPypi {
inherit pname version;
sha256 = "1m9aa4qnyj21lbq4sbvmv1vcz7zksss4rz37ddf2hxv4hk8b547w";
};
propagatedBuildInputs = [ nose ];
meta = with stdenv.lib; {
description = "Add flag to ignore unicode literal prefixes in doctests";
license = with licenses; [ asl20 ];
homepage = https://github.com/gnublade/doctest-ignore-unicode;
};
}

View File

@ -2171,23 +2171,7 @@ in {
docopt = callPackage ../development/python-modules/docopt { };
doctest-ignore-unicode = buildPythonPackage rec {
name = "doctest-ignore-unicode-${version}";
version = "0.1.2";
src = pkgs.fetchurl {
url = "mirror://pypi/d/doctest-ignore-unicode/${name}.tar.gz";
sha256= "fc90b2d0846477285c6b67fc4cb4d6f39fcf76d8752f4df0a241486f31512ad5";
};
propagatedBuildInputs = with self; [ nose ];
meta = {
description = "Add flag to ignore unicode literal prefixes in doctests";
license = with licenses; [ asl20 ];
homepage = https://github.com/gnublade/doctest-ignore-unicode;
};
};
doctest-ignore-unicode = callPackage ../development/python-modules/doctest-ignore-unicode { };
dogpile_cache = callPackage ../development/python-modules/dogpile.cache { };