biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / django-rosetta / default.nix
blob98234ebb575a21406b9a8634db9142b09bbf0e06
2   lib,
3   buildPythonPackage,
4   django,
5   fetchFromGitHub,
6   polib,
7   pythonOlder,
8   requests,
9   setuptools,
12 buildPythonPackage rec {
13   pname = "django-rosetta";
14   version = "0.10.1";
15   pyproject = true;
17   disabled = pythonOlder "3.7";
19   src = fetchFromGitHub {
20     owner = "mbi";
21     repo = "django-rosetta";
22     rev = "refs/tags/v${version}";
23     hash = "sha256-b+iCUA3i3Ej6S5XcGQhBIEIJFx6vOL2sq3xkkA9wqek=";
24   };
26   build-system = [ setuptools ];
28   dependencies = [
29     django
30     polib
31     requests
32   ];
34   # require internet connection
35   doCheck = false;
37   pythonImportsCheck = [ "rosetta" ];
39   meta = with lib; {
40     description = "Rosetta is a Django application that facilitates the translation process of your Django projects";
41     homepage = "https://github.com/mbi/django-rosetta";
42     changelog = "https://github.com/mbi/django-rosetta/releases/tag/v${version}";
43     license = licenses.mit;
44     maintainers = with maintainers; [ derdennisop ];
45   };