1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, mock
5, pytestCheckHook
6}:
7
8buildPythonPackage rec {
9 pname = "utils";
10 version = "1.0.1";
11
12 src = fetchFromGitHub {
13 owner = "haaksmash";
14 repo = "pyutils";
15 rev = version;
16 sha256 = "07pr39cfw5ayzkp6h53y7lfpd0w19pphsdzsf100fsyy3npavgbr";
17 };
18
19 nativeCheckInputs = [
20 mock
21 pytestCheckHook
22 ];
23
24 pythonImportsCheck = [ "utils" ];
25
26 meta = with lib; {
27 description = "Python set of utility functions and objects";
28 homepage = "https://github.com/haaksmash/pyutils";
29 license = with licenses; [ lgpl3Only ];
30 maintainers = with maintainers; [ fab ];
31 };
32}