nixpkgs/pkgs/development/python-modules/hatch-requirements-txt/default.nix
Robert Schütz 3fe688f431
Merge pull request #211703 from dotlambda/cython-0.29.33
python310Packages.cython: 0.29.32 -> 0.29.33
2023-01-22 06:31:31 -08:00

45 lines
960 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, hatchling
, packaging
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "hatch-requirements-txt";
version = "0.3.0";
format = "pyproject";
src = fetchFromGitHub {
owner = "repo-helper";
repo = "hatch-requirements-txt";
rev = "refs/tags/v${version}";
hash = "sha256-Gyt5Fs8uqVe0cOKtxFeg1n1WMyeK5Iokh71ynb2i5cM=";
};
nativeBuildInputs = [
hatchling
];
propagatedBuildInputs = [
hatchling
packaging
];
doCheck = false; # missing coincidence dependency
nativeCheckInputs = [
pytestCheckHook
];
meta = with lib; {
changelog = "https://github.com/repo-helper/hatch-requirements-txt/releases/tag/${version}";
description = "Hatchling plugin to read project dependencies from requirements.txt";
homepage = "https://github.com/repo-helper/hatch-requirements-txt";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}