blob: 243f55b5338e61c48367e0cbfedc9c4015b287a1 (
plain)
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
pytest-cov-stub,
setuptools,
setuptools-scm,
}:
buildPythonPackage rec {
pname = "semver";
version = "3.0.4";
pyproject = true;
src = fetchFromGitHub {
owner = "python-semver";
repo = "python-semver";
tag = version;
hash = "sha256-ry6r2cY/DRTiPxT+ZiumgFbQyHNzL8i1QcQbLWjnDVE=";
};
build-system = [
setuptools
setuptools-scm
];
nativeCheckInputs = [
pytestCheckHook
pytest-cov-stub
];
pythonImportsCheck = [ "semver" ];
meta = {
description = "Python package to work with Semantic Versioning (http://semver.org/)";
homepage = "https://python-semver.readthedocs.io/";
changelog = "https://github.com/python-semver/python-semver/releases/tag/3.0.0";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ np ];
mainProgram = "pysemver";
};
}
|