mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-15 05:09:05 +00:00
This is almost all find-and-replace. I manually edited: * pkgs/development/python-modules/notifications-android-tv/default.nix, * pkgs/servers/home-assistant/default.nix, * pkgs/development/tools/continuous-integration/buildbot/master.nix A few files have not been changed in this PR because they would cause rebuilds. This PR should have 0 rebuilds.
41 lines
917 B
Nix
41 lines
917 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
hatchling,
|
|
packaging,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "hatch-requirements-txt";
|
|
version = "0.4.1";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "repo-helper";
|
|
repo = "hatch-requirements-txt";
|
|
tag = "v${version}";
|
|
hash = "sha256-Kd3rDfTBn/t/NiSJMPkHRWD5solUF7MAN8EiZokxHrk=";
|
|
};
|
|
|
|
nativeBuildInputs = [ hatchling ];
|
|
|
|
propagatedBuildInputs = [
|
|
hatchling
|
|
packaging
|
|
];
|
|
|
|
doCheck = false; # missing coincidence dependency
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
meta = {
|
|
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 = lib.licenses.mit;
|
|
maintainers = [ ];
|
|
};
|
|
}
|