Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / hatch-requirements-txt / default.nix
blob999596680505060bd533cb7620784905d958007d
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , hatchling
5 , packaging
6 , pytestCheckHook
7 }:
9 buildPythonPackage rec {
10   pname = "hatch-requirements-txt";
11   version = "0.4.1";
12   format = "pyproject";
14   src = fetchFromGitHub {
15     owner = "repo-helper";
16     repo = "hatch-requirements-txt";
17     rev = "refs/tags/v${version}";
18     hash = "sha256-Kd3rDfTBn/t/NiSJMPkHRWD5solUF7MAN8EiZokxHrk=";
19   };
21   nativeBuildInputs = [
22     hatchling
23   ];
25   propagatedBuildInputs = [
26     hatchling
27     packaging
28   ];
30   doCheck = false; # missing coincidence dependency
32   nativeCheckInputs = [
33     pytestCheckHook
34   ];
36   meta = with lib; {
37     changelog = "https://github.com/repo-helper/hatch-requirements-txt/releases/tag/${version}";
38     description = "Hatchling plugin to read project dependencies from requirements.txt";
39     homepage = "https://github.com/repo-helper/hatch-requirements-txt";
40     license = licenses.mit;
41     maintainers = with maintainers; [ ];
42   };