pythonPackages.semver: move to pkgs/development/python-modules
This commit is contained in:
parent
e693d5f986
commit
f93dfd5259
19
pkgs/development/python-modules/semver/default.nix
Normal file
19
pkgs/development/python-modules/semver/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user