blob: cba023faed53821577ea576a8a8ba5d92f888741 (
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
35
36
37
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
python,
pillow,
}:
buildPythonPackage rec {
pname = "icnsutil";
version = "1.1.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "relikd";
repo = "icnsutil";
tag = "v${version}";
hash = "sha256-tiq8h6s2noWLBIOIWcj8jfSqJFN01ee2uoHN4aFwn7s=";
};
dependencies = [ pillow ];
checkPhase = ''
${python.interpreter} tests/test_icnsutil.py
${python.interpreter} tests/test_cli.py
'';
pythonImportsCheck = [ "icnsutil" ];
meta = {
description = "Create and extract .icns files";
homepage = "https://github.com/relikd/icnsutil";
changelog = "https://github.com/relikd/icnsutil/releases/tag/v${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ reckenrode ];
};
}
|