Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 hatchling, 6 packaging, 7 pytestCheckHook, 8}: 9 10buildPythonPackage rec { 11 pname = "hatch-requirements-txt"; 12 version = "0.4.1"; 13 format = "pyproject"; 14 15 src = fetchFromGitHub { 16 owner = "repo-helper"; 17 repo = "hatch-requirements-txt"; 18 tag = "v${version}"; 19 hash = "sha256-Kd3rDfTBn/t/NiSJMPkHRWD5solUF7MAN8EiZokxHrk="; 20 }; 21 22 nativeBuildInputs = [ hatchling ]; 23 24 propagatedBuildInputs = [ 25 hatchling 26 packaging 27 ]; 28 29 doCheck = false; # missing coincidence dependency 30 31 nativeCheckInputs = [ pytestCheckHook ]; 32 33 meta = with lib; { 34 changelog = "https://github.com/repo-helper/hatch-requirements-txt/releases/tag/${version}"; 35 description = "Hatchling plugin to read project dependencies from requirements.txt"; 36 homepage = "https://github.com/repo-helper/hatch-requirements-txt"; 37 license = licenses.mit; 38 maintainers = [ ]; 39 }; 40}