silx: 2.1.1 -> 2.1.2 (#361612)
[NixPkgs.git] / pkgs / development / python-modules / requirements-parser / default.nix
blobf8658fed6a0b6de1f0807b5ccbd7c219749e4639
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   poetry-core,
6   pytestCheckHook,
7   pythonOlder,
8   setuptools,
9   types-setuptools,
12 buildPythonPackage rec {
13   pname = "requirements-parser";
14   version = "0.11.0";
15   pyproject = true;
17   disabled = pythonOlder "3.7";
19   src = fetchFromGitHub {
20     owner = "madpah";
21     repo = "requirements-parser";
22     rev = "refs/tags/v${version}";
23     hash = "sha256-o9IriQXa2Pd7s16IENqcWgi73XZQoXsbXU471V1CFaI=";
24   };
26   build-system = [ poetry-core ];
28   dependencies = [
29     setuptools
30     types-setuptools
31   ];
33   nativeCheckInputs = [ pytestCheckHook ];
35   pythonImportsCheck = [ "requirements" ];
37   meta = with lib; {
38     description = "Pip requirements file parser";
39     homepage = "https://github.com/davidfischer/requirements-parser";
40     changelog = "https://github.com/madpah/requirements-parser/blob/v${version}/CHANGELOG.md";
41     license = licenses.bsd2;
42     maintainers = [ ];
43   };