4d5a95770c
GitOrigin-RevId: 3c5319ad3aa51551182ac82ea17ab1c6b0f0df89
37 lines
836 B
Nix
37 lines
836 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, pythonOlder
|
|
, setuptools
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "setuptools-gettext";
|
|
version = "0.1.3";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "breezy-team";
|
|
repo = "setuptools-gettext";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-pTjYdezNBFeLCh6cbC+YtHxQB4zrZAFTCjjNQffbHhc=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
setuptools
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"setuptools_gettext"
|
|
];
|
|
|
|
meta = with lib; {
|
|
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 = licenses.gpl2Plus;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|