python3.pkgs.django-parler: init at 2.3
This commit is contained in:
parent
eafd00c16a
commit
6d1315c896
2 changed files with 44 additions and 0 deletions
42
pkgs/development/python-modules/django-parler/default.nix
Normal file
42
pkgs/development/python-modules/django-parler/default.nix
Normal file
|
@ -0,0 +1,42 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, django
|
||||
, fetchFromGitHub
|
||||
, pytest
|
||||
, pytest-django
|
||||
, pythonOlder
|
||||
, python
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "django-parler";
|
||||
version = "2.3";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "django-parler";
|
||||
repo = "django-parler";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-tRGifFPCXF3aa3PQWKw3tl1H1TY+lgcChUP1VdwG1cE=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
django
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
${python.interpreter} runtests.py
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Simple Django model translations without nasty hacks";
|
||||
homepage = "https://github.com/django-parler/django-parler";
|
||||
changelog = "https://github.com/django-parler/django-parler/releases/tag/v${version}";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ derdennisop ];
|
||||
};
|
||||
}
|
|
@ -2675,6 +2675,8 @@ self: super: with self; {
|
|||
|
||||
django-paintstore = callPackage ../development/python-modules/django-paintstore { };
|
||||
|
||||
django-parler = callPackage ../development/python-modules/django-parler { };
|
||||
|
||||
django-pattern-library = callPackage ../development/python-modules/django-pattern-library { };
|
||||
|
||||
django-payments = callPackage ../development/python-modules/django-payments { };
|
||||
|
|
Loading…
Reference in a new issue