pythonPackages.semver: move to pkgs/development/python-modules

This commit is contained in:
rnhmjoj 2017-05-31 22:57:42 +02:00
parent e693d5f986
commit f93dfd5259
No known key found for this signature in database
GPG Key ID: 362BB82B7E496B7C
2 changed files with 20 additions and 22 deletions

View File

@ -0,0 +1,19 @@
{ stdenv, fetchPypi, buildPythonPackage }:
buildPythonPackage rec {
name = "${pname}-${version}";
pname = "semver";
version = "2.2.1";
src = fetchPypi {
inherit pname version;
sha256 = "161gvsfpw0l8lnf1v19rvqc8b9f8n70cc8ppya4l0n6rwc1c1n4m";
};
meta = with stdenv.lib; {
description = "Python package to work with Semantic Versioning (http://semver.org/)";
homepage = "https://github.com/k-bx/python-semver";
license = licenses.bsd3;
maintainers = with maintainers; [ np ];
};
}

View File

@ -29640,28 +29640,7 @@ EOF
ecpy = callPackage ../development/python-modules/ecpy { };
trezor = callPackage ../development/python-modules/trezor { };
semver = buildPythonPackage rec {
name = "semver-${version}";
version = "2.2.1";
src = pkgs.fetchurl {
url = "mirror://pypi/s/semver/${name}.tar.gz";
sha256 = "161gvsfpw0l8lnf1v19rvqc8b9f8n70cc8ppya4l0n6rwc1c1n4m";
};
meta = {
description = "Python package to work with Semantic Versioning (http://semver.org/)";
homepage = "https://github.com/k-bx/python-semver";
license = licenses.bsd3;
maintainers = with maintainers; [ np ];
};
};
ed25519 = buildPythonPackage rec {
name = "ed25519-${version}";
version = "1.4";
semver = callPackage ../development/python-modules/semver { };
src = pkgs.fetchurl {
url = "mirror://pypi/e/ed25519/${name}.tar.gz";