blob: 31440a40e5a3440630557872d0500de7de0f271c (
plain) (
blame)
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
38
39
40
41
42
43
44
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
setuptools,
tomli,
pytestCheckHook,
gettext,
}:
buildPythonPackage rec {
pname = "setuptools-gettext";
version = "0.1.14";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "breezy-team";
repo = "setuptools-gettext";
rev = "refs/tags/v${version}";
hash = "sha256-05xKWRxmoI8tnRENuiK3Z3WNMyjgXIX5p3vhzSUeytQ=";
};
build-system = [ setuptools ];
dependencies = [ setuptools ] ++ lib.optionals (pythonOlder "3.11") [ tomli ];
pythonImportsCheck = [ "setuptools_gettext" ];
nativeCheckInputs = [
pytestCheckHook
gettext
];
meta = {
changelog = "https://github.com/breezy-team/setuptools-gettext/releases/tag/v${version}";
description = "setuptools plugin for building mo files";
homepage = "https://github.com/breezy-team/setuptools-gettext";
license = lib.licenses.gpl2Plus;
maintainers = with lib.maintainers; [ tomasajt ];
};
}
|