Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / node-semver / default.nix
blob2fb460bc006d85eeb664781e576f1acf927c6e57
1 { lib
2 , fetchFromGitHub
3 , buildPythonPackage
4 , pytestCheckHook
5 , pythonOlder
6 }:
8 buildPythonPackage rec {
9   pname = "node-semver";
10   version = "0.9.0";
11   format = "setuptools";
13   disabled = pythonOlder "3.7";
15   src = fetchFromGitHub {
16     owner = "podhmo";
17     repo = "python-node-semver";
18     rev = "refs/tags/${version}";
19     hash = "sha256-Ncl+RUvy9G9lF3EzLz2HfiDB02tEgAlZ34Wbn4mlF6Y=";
20   };
22   nativeCheckInputs = [
23     pytestCheckHook
24   ];
26   pythonImportsCheck = [
27     "nodesemver"
28   ];
30   meta = with lib; {
31     changelog = "https://github.com/podhmo/python-node-semver/blob/${version}/CHANGES.txt";
32     description = "A port of node-semver";
33     homepage = "https://github.com/podhmo/python-semver";
34     license = licenses.mit;
35     maintainers = with maintainers; [ ];
36   };