1{
2 lib,
3 buildPythonPackage,
4 django,
5 fetchFromGitHub,
6 polib,
7 pythonOlder,
8 requests,
9}:
10
11buildPythonPackage rec {
12 pname = "django-rosetta";
13 version = "0.9.9";
14 format = "setuptools";
15
16 disabled = pythonOlder "3.7";
17
18 src = fetchFromGitHub {
19 owner = "mbi";
20 repo = "django-rosetta";
21 rev = "refs/tags/v${version}";
22 hash = "sha256-OuKgqGYBlzQNKKAJYFhNi+LnONB/mxINMj4VBAVWjqI=";
23 };
24
25 propagatedBuildInputs = [
26 django
27 polib
28 requests
29 ];
30
31 # require internet connection
32 doCheck = false;
33
34 pythonImportsCheck = [ "rosetta" ];
35
36 meta = with lib; {
37 description = "Rosetta is a Django application that facilitates the translation process of your Django projects";
38 homepage = "https://github.com/mbi/django-rosetta";
39 changelog = "https://github.com/mbi/django-rosetta/releases/tag/v${version}";
40 license = licenses.mit;
41 maintainers = with maintainers; [ derdennisop ];
42 };
43}