at 23.05-pre 739 B view raw
1{ lib, buildPythonPackage, pythonOlder, fetchFromSourcehut 2, kubo, packaging, tomli }: 3 4buildPythonPackage rec { 5 pname = "ipwhl"; 6 version = "1.1.0"; 7 format = "flit"; 8 disabled = pythonOlder "3.6"; 9 10 src = fetchFromSourcehut { 11 owner = "~cnx"; 12 repo = "ipwhl-utils"; 13 rev = version; 14 sha256 = "sha256-YaIYcoUnbiv9wUOFIzGj2sWGbh7NsqRQcqOR2X6+QZA="; 15 }; 16 17 buildInputs = [ kubo ]; 18 propagatedBuildInputs = [ packaging tomli ]; 19 doCheck = false; # there's no test 20 pythonImportsCheck = [ "ipwhl" ]; 21 22 meta = with lib; { 23 description = "Utilities for the InterPlanetary Wheels"; 24 homepage = "https://git.sr.ht/~cnx/ipwhl-utils"; 25 license = licenses.agpl3Plus; 26 maintainers = [ maintainers.McSinyx ]; 27 }; 28}