Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at python-updates 39 lines 858 B view raw
1{ 2 lib, 3 pythonOlder, 4 pytestCheckHook, 5 pytest-cov-stub, 6 hatchling, 7 fetchFromGitHub, 8 buildPythonPackage, 9}: 10 11buildPythonPackage rec { 12 pname = "entry-points-txt"; 13 version = "0.3.0"; 14 pyproject = true; 15 16 src = fetchFromGitHub { 17 owner = "jwodder"; 18 repo = "entry-points-txt"; 19 tag = "v${version}"; 20 hash = "sha256-8oGK7aIDgXkCLh/d38hWzfF367KhmggG2s820D2r/EA="; 21 }; 22 23 build-system = [ hatchling ]; 24 25 nativeCheckInputs = [ 26 pytestCheckHook 27 pytest-cov-stub 28 ]; 29 30 pythonImportsCheck = [ "entry_points_txt" ]; 31 32 meta = { 33 description = "Read & write entry_points.txt files"; 34 homepage = "https://github.com/jwodder/entry-points-txt"; 35 changelog = "https://github.com/wheelodex/entry-points-txt/releases/tag/${src.tag}"; 36 license = lib.licenses.mit; 37 maintainers = with lib.maintainers; [ ayazhafiz ]; 38 }; 39}