1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 pythonOlder,
6}:
7
8buildPythonPackage rec {
9 pname = "littleutils";
10 version = "0.2.2";
11 format = "setuptools";
12
13 disabled = pythonOlder "3.7";
14
15 src = fetchPypi {
16 inherit pname version;
17 hash = "sha256-5srjpCA+Uw1RyWZ+0xD/47GUjyh249aWBbPeS32WkW8=";
18 };
19
20 # Module has no tests
21 doCheck = false;
22
23 pythonImportsCheck = [ "littleutils" ];
24
25 meta = with lib; {
26 description = "Small collection of Python utility functions";
27 homepage = "https://github.com/alexmojaki/littleutils";
28 changelog = "https://github.com/alexmojaki/littleutils/releases/tag/v${version}";
29 license = licenses.mit;
30 maintainers = with maintainers; [ jluttine ];
31 };
32}