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