472aeafc57
GitOrigin-RevId: c31898adf5a8ed202ce5bea9f347b1c6871f32d1
46 lines
973 B
Nix
46 lines
973 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
django,
|
|
fetchFromGitHub,
|
|
polib,
|
|
pythonOlder,
|
|
requests,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "django-rosetta";
|
|
version = "0.10.1";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mbi";
|
|
repo = "django-rosetta";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-b+iCUA3i3Ej6S5XcGQhBIEIJFx6vOL2sq3xkkA9wqek=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
django
|
|
polib
|
|
requests
|
|
];
|
|
|
|
# require internet connection
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "rosetta" ];
|
|
|
|
meta = with lib; {
|
|
description = "Rosetta is a Django application that facilitates the translation process of your Django projects";
|
|
homepage = "https://github.com/mbi/django-rosetta";
|
|
changelog = "https://github.com/mbi/django-rosetta/releases/tag/v${version}";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ derdennisop ];
|
|
};
|
|
}
|