nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 43 lines 912 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 django, 5 fetchFromGitHub, 6 polib, 7 requests, 8 setuptools, 9}: 10 11buildPythonPackage rec { 12 pname = "django-rosetta"; 13 version = "0.10.3"; 14 pyproject = true; 15 16 src = fetchFromGitHub { 17 owner = "mbi"; 18 repo = "django-rosetta"; 19 tag = "v${version}"; 20 hash = "sha256-VnKbtzLY2+3RTk4gNZASuVSDGzfgoyr06RUNB2r0eDw="; 21 }; 22 23 build-system = [ setuptools ]; 24 25 dependencies = [ 26 django 27 polib 28 requests 29 ]; 30 31 # require internet connection 32 doCheck = false; 33 34 pythonImportsCheck = [ "rosetta" ]; 35 36 meta = { 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/${src.tag}"; 40 license = lib.licenses.mit; 41 maintainers = with lib.maintainers; [ derdennisop ]; 42 }; 43}