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