pythonPackages.ruamel_base: refactor move to python-modules
This commit is contained in:
parent
b2c75e7d72
commit
e0d62c2249
21
pkgs/development/python-modules/ruamel_base/default.nix
Normal file
21
pkgs/development/python-modules/ruamel_base/default.nix
Normal 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -3654,21 +3654,7 @@ in {
|
|||||||
|
|
||||||
squaremap = callPackage ../development/python-modules/squaremap { };
|
squaremap = callPackage ../development/python-modules/squaremap { };
|
||||||
|
|
||||||
ruamel_base = buildPythonPackage rec {
|
ruamel_base = callPackage ../development/python-modules/ruamel_base { };
|
||||||
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_ordereddict = buildPythonPackage rec {
|
ruamel_ordereddict = buildPythonPackage rec {
|
||||||
name = "ruamel.ordereddict-${version}";
|
name = "ruamel.ordereddict-${version}";
|
||||||
|
Loading…
Reference in New Issue
Block a user