blob: f10de93538622ab7d19635e430dec47e48fd1f94 (
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
|
{
lib,
fetchFromGitHub,
buildPythonPackage,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "node-semver";
version = "0.9.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "podhmo";
repo = "python-node-semver";
tag = version;
hash = "sha256-Ncl+RUvy9G9lF3EzLz2HfiDB02tEgAlZ34Wbn4mlF6Y=";
};
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "nodesemver" ];
meta = {
changelog = "https://github.com/podhmo/python-node-semver/blob/${version}/CHANGES.txt";
description = "Port of node-semver";
homepage = "https://github.com/podhmo/python-semver";
license = lib.licenses.mit;
maintainers = [ ];
};
}
|