2022-12-10 10:06:00 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
2020-05-21 08:50:27 +00:00
|
|
|
, fetchPypi
|
2022-12-10 10:06:00 +00:00
|
|
|
, pythonOlder
|
2020-05-21 08:50:27 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "littleutils";
|
|
|
|
version = "0.2.2";
|
2022-12-10 10:06:00 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
2020-05-21 08:50:27 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-12-10 10:06:00 +00:00
|
|
|
hash = "sha256-5srjpCA+Uw1RyWZ+0xD/47GUjyh249aWBbPeS32WkW8=";
|
2020-05-21 08:50:27 +00:00
|
|
|
};
|
|
|
|
|
2022-12-10 10:06:00 +00:00
|
|
|
# Module has no tests
|
2020-05-21 08:50:27 +00:00
|
|
|
doCheck = false;
|
2022-12-10 10:06:00 +00:00
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"littleutils"
|
|
|
|
];
|
2020-05-21 08:50:27 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Small collection of Python utility functions";
|
|
|
|
homepage = "https://github.com/alexmojaki/littleutils";
|
2022-12-10 10:06:00 +00:00
|
|
|
changelog = "https://github.com/alexmojaki/littleutils/releases/tag/v${version}";
|
2020-05-21 08:50:27 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ jluttine ];
|
|
|
|
};
|
|
|
|
}
|