2022-01-23 02:10:13 +00:00
|
|
|
{ lib, buildPythonPackage, pythonOlder, fetchFromSourcehut
|
|
|
|
, ipfs, packaging, tomli }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ipwhl";
|
2022-05-18 14:49:53 +00:00
|
|
|
version = "1.1.0";
|
2022-01-23 02:10:13 +00:00
|
|
|
format = "flit";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
|
|
|
|
src = fetchFromSourcehut {
|
|
|
|
owner = "~cnx";
|
|
|
|
repo = "ipwhl-utils";
|
|
|
|
rev = version;
|
2022-05-18 14:49:53 +00:00
|
|
|
sha256 = "sha256-YaIYcoUnbiv9wUOFIzGj2sWGbh7NsqRQcqOR2X6+QZA=";
|
2022-01-23 02:10:13 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ ipfs ];
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|