pythonPackages.ruamel_base: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-26 12:54:48 -04:00 committed by Frederik Rietdijk
parent b2c75e7d72
commit e0d62c2249
2 changed files with 22 additions and 15 deletions

View File

@ -0,0 +1,21 @@
{ stdenv
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "ruamel.base";
version = "1.0.0";
src = fetchPypi {
inherit pname version;
sha256 = "1wswxrn4givsm917mfl39rafgadimf1sldpbjdjws00g1wx36hf0";
};
meta = with stdenv.lib; {
description = "Common routines for ruamel packages";
homepage = https://bitbucket.org/ruamel/base;
license = licenses.mit;
};
}

View File

@ -3654,21 +3654,7 @@ in {
squaremap = callPackage ../development/python-modules/squaremap { };
ruamel_base = buildPythonPackage rec {
name = "ruamel.base-${version}";
version = "1.0.0";
src = pkgs.fetchurl {
url = "mirror://pypi/r/ruamel.base/${name}.tar.gz";
sha256 = "1wswxrn4givsm917mfl39rafgadimf1sldpbjdjws00g1wx36hf0";
};
meta = {
description = "Common routines for ruamel packages";
homepage = https://bitbucket.org/ruamel/base;
license = licenses.mit;
};
};
ruamel_base = callPackage ../development/python-modules/ruamel_base { };
ruamel_ordereddict = buildPythonPackage rec {
name = "ruamel.ordereddict-${version}";