nixpkgs/pkgs/development/python-modules/semver/default.nix

23 lines
573 B
Nix
Raw Normal View History

{ stdenv, fetchPypi, buildPythonPackage }:
buildPythonPackage rec {
name = "${pname}-${version}";
pname = "semver";
2017-08-24 18:34:20 +01:00
version = "2.7.7";
src = fetchPypi {
inherit pname version;
2017-08-24 18:34:20 +01:00
sha256 = "20ffbb50248a6141bb9eba907db0e47ee4a239ddb55fe0ada8696fc241495a9d";
};
# No tests in archive
doCheck = false;
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 ];
};
}