blob: 3201de0ba46cc7b10cc499d138984c0737b36e8b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
{ stdenv, fetchFromGitHub, buildPythonPackage, pytest }:
buildPythonPackage {
pname = "semver";
version = "2.8.1";
src = fetchFromGitHub {
owner = "k-bx";
repo = "python-semver";
rev = "41775dd5f143dfa6ca94885056c9ef5b3ed4e6e1"; # not tagged in repository
sha256 = "1rqaakha4sw06k9h0h4g1wmk66zkmhpq92y2rw0kyfpp6xk1zbk2";
};
checkInputs = [ pytest ];
checkPhase = ''
py.test
'';
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 ];
};
}
|