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