Merge pull request #226376 from DerDennisOP/django-rosetta
python3.pkgs.django-rosetta: init at 0.9.8
This commit is contained in:
commit
a94d71e7f2
45
pkgs/development/python-modules/django-rosetta/default.nix
Normal file
45
pkgs/development/python-modules/django-rosetta/default.nix
Normal file
@ -0,0 +1,45 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, django
|
||||
, fetchFromGitHub
|
||||
, polib
|
||||
, pythonOlder
|
||||
, requests
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "django-rosetta";
|
||||
version = "0.9.8";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mbi";
|
||||
repo = "django-rosetta";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-3AXwRxNWVkqW65xdqUwjHM1W5qhHXTjapqaM0Wmsebw=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
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/jazzband/django-rosetta/releases/tag/v${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ derdennisop ];
|
||||
};
|
||||
}
|
||||
|
@ -2825,6 +2825,8 @@ self: super: with self; {
|
||||
|
||||
django-rest-registration = callPackage ../development/python-modules/django-rest-registration { };
|
||||
|
||||
django-rosetta = callPackage ../development/python-modules/django-rosetta { };
|
||||
|
||||
django-rq = callPackage ../development/python-modules/django-rq { };
|
||||
|
||||
djangorestframework = callPackage ../development/python-modules/djangorestframework { };
|
||||
|
Loading…
Reference in New Issue
Block a user