587713944a
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
37 lines
837 B
Nix
37 lines
837 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, pythonOlder
|
|
, setuptools
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "setuptools-gettext";
|
|
version = "0.1.11";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "breezy-team";
|
|
repo = "setuptools-gettext";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-yLKn4wwGgRdlsISAT71lD2vkIefsTJRB+OEA030adZY=";
|
|
};
|
|
|
|
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; [ ];
|
|
};
|
|
}
|