python3Packages.hatch-requirements-txt: init at 0.3.0

This commit is contained in:
Martin Weinelt 2022-12-31 13:49:05 +01:00
parent e6e62e9014
commit 3b8c42c9b0
2 changed files with 47 additions and 0 deletions

View file

@ -0,0 +1,45 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, hatch
, 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 = [
hatch
];
propagatedBuildInputs = [
hatchling
packaging
];
doCheck = false; # missing coincidence dependency
checkInputs = [
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; [ ];
};
}

View file

@ -4189,6 +4189,8 @@ self: super: with self; {
hatch-nodejs-version = callPackage ../development/python-modules/hatch-nodejs-version { };
hatch-requirements-txt = callPackage ../development/python-modules/hatch-requirements-txt { };
haversine = callPackage ../development/python-modules/haversine { };
hawkauthlib = callPackage ../development/python-modules/hawkauthlib { };