depot/third_party/nixpkgs/pkgs/development/python-modules/setuptools-gettext/default.nix
Default email e7ec2969af Project import generated by Copybara.
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
2024-01-13 09:15:51 +01:00

37 lines
836 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "setuptools-gettext";
version = "0.1.7";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "breezy-team";
repo = "setuptools-gettext";
rev = "refs/tags/v${version}";
hash = "sha256-R1zgE1Ai2r23bve+sKo27XkUcIAmlWSreHZNt5yh2DY=";
};
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; [ ];
};
}