1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 pythonOlder,
6 setuptools,
7 setuptools-scm,
8}:
9
10buildPythonPackage rec {
11 pname = "littleutils";
12 version = "0.2.4";
13 pyproject = true;
14
15 disabled = pythonOlder "3.7";
16
17 src = fetchPypi {
18 inherit pname version;
19 hash = "sha256-x4NbAQIM7ULikRGLfXj7FrwtmhtPP0LzyzeHu02lPRk=";
20 };
21
22 build-system = [
23 setuptools
24 setuptools-scm
25 ];
26
27 # Module has no tests
28 doCheck = false;
29
30 pythonImportsCheck = [ "littleutils" ];
31
32 meta = with lib; {
33 description = "Small collection of Python utility functions";
34 homepage = "https://github.com/alexmojaki/littleutils";
35 changelog = "https://github.com/alexmojaki/littleutils/releases/tag/v${version}";
36 license = licenses.mit;
37 maintainers = with maintainers; [ jluttine ];
38 };
39}