3
0
Fork 0
forked from mirrors/nixpkgs

pythonPackages.nine: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-17 15:13:24 -04:00 committed by Frederik Rietdijk
parent 3e1f1f76bb
commit 976162ed90
2 changed files with 22 additions and 15 deletions

View file

@ -0,0 +1,21 @@
{ stdenv
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "nine";
version = "0.3.4";
src = fetchPypi {
inherit pname version;
sha256 = "1zrsbm0hajfvklkhgysp81hy632a3bdakp31m0lcpd9xbp5265zy";
};
meta = with stdenv.lib; {
description = "Let's write Python 3 right now!";
homepage = "https://github.com/nandoflorestan/nine";
license = licenses.free;
};
}

View file

@ -3037,21 +3037,7 @@ in {
pycountry = callPackage ../development/python-modules/pycountry { };
nine = buildPythonPackage rec {
name = "nine-${version}";
version = "0.3.4";
src = pkgs.fetchurl {
url = "mirror://pypi/n/nine/${name}.tar.gz";
sha256 = "1zrsbm0hajfvklkhgysp81hy632a3bdakp31m0lcpd9xbp5265zy";
};
meta = with stdenv.lib; {
description = "Let's write Python 3 right now!";
homepage = "https://github.com/nandoflorestan/nine";
};
};
nine = callPackage ../development/python-modules/nine { };
logutils = buildPythonPackage rec {
name = "logutils-${version}";