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