diff --git a/pkgs/development/python-modules/littleutils/default.nix b/pkgs/development/python-modules/littleutils/default.nix new file mode 100644 index 000000000000..ea490f19fe5d --- /dev/null +++ b/pkgs/development/python-modules/littleutils/default.nix @@ -0,0 +1,25 @@ +{ buildPythonPackage +, fetchPypi +, lib +}: + +buildPythonPackage rec { + pname = "littleutils"; + version = "0.2.2"; + + src = fetchPypi { + inherit pname version; + sha256 = "0vwijrylppmk0nbddqvn527r9cg3zw8d6zk6r58hslry42jf7jp6"; + }; + + # This tiny package has no unit tests at all + doCheck = false; + pythonImportsCheck = [ "littleutils" ]; + + meta = with lib; { + description = "Small collection of Python utility functions"; + homepage = "https://github.com/alexmojaki/littleutils"; + license = licenses.mit; + maintainers = with maintainers; [ jluttine ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index d74d95f17f4c..8c2dfad58284 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -3517,6 +3517,8 @@ in { lirc = disabledIf isPy27 (toPythonModule (pkgs.lirc.override { python3 = python; })); + littleutils = callPackage ../development/python-modules/littleutils { }; + livelossplot = callPackage ../development/python-modules/livelossplot { }; livereload = callPackage ../development/python-modules/livereload { };