fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
40 lines
816 B
Nix
40 lines
816 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
pythonOlder,
|
|
fetchFromSourcehut,
|
|
kubo,
|
|
packaging,
|
|
tomli,
|
|
flit-core,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "ipwhl";
|
|
version = "1.1.0";
|
|
format = "pyproject";
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchFromSourcehut {
|
|
owner = "~cnx";
|
|
repo = "ipwhl-utils";
|
|
rev = version;
|
|
hash = "sha256-YaIYcoUnbiv9wUOFIzGj2sWGbh7NsqRQcqOR2X6+QZA=";
|
|
};
|
|
|
|
nativeBuildInputs = [ flit-core ];
|
|
buildInputs = [ kubo ];
|
|
propagatedBuildInputs = [
|
|
packaging
|
|
tomli
|
|
];
|
|
doCheck = false; # there's no test
|
|
pythonImportsCheck = [ "ipwhl" ];
|
|
|
|
meta = with lib; {
|
|
description = "Utilities for the InterPlanetary Wheels";
|
|
homepage = "https://git.sr.ht/~cnx/ipwhl-utils";
|
|
license = licenses.agpl3Plus;
|
|
maintainers = [ maintainers.McSinyx ];
|
|
};
|
|
}
|