1{ stdenv, fetchPypi, buildPythonPackage }:
2
3buildPythonPackage rec {
4 name = "${pname}-${version}";
5 pname = "semver";
6 version = "2.7.8";
7
8 src = fetchPypi {
9 inherit pname version;
10 sha256 = "a6212f5c552452e306502ac8476bbca48af62db29c4528fdd91d319d0a44b07b";
11 };
12
13 # No tests in archive
14 doCheck = false;
15
16 meta = with stdenv.lib; {
17 description = "Python package to work with Semantic Versioning (http://semver.org/)";
18 homepage = https://github.com/k-bx/python-semver;
19 license = licenses.bsd3;
20 maintainers = with maintainers; [ np ];
21 };
22}