pythonPackages.django-pglocks: init at 1.0.2
This commit is contained in:
parent
b80cb36cde
commit
28e186f429
24
pkgs/development/python-modules/django-pglocks/default.nix
Normal file
24
pkgs/development/python-modules/django-pglocks/default.nix
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
{ lib, buildPythonPackage, fetchPypi, django }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "django-pglocks";
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
version = "1.0.2";
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "PostgreSQL locking context managers and functions for Django.";
|
||||||
|
homepage = https://github.com/Xof/django-pglocks;
|
||||||
|
license = lib.licenses.mit;
|
||||||
|
};
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1ks4k0bk4457wfl3xgzr4v7xb0lxmnkhxwhlp0bbnmzipdafw1cl";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ django ];
|
||||||
|
propagatedBuildInputs = [ django ];
|
||||||
|
|
||||||
|
# tests need a postgres database
|
||||||
|
doCheck = false;
|
||||||
|
}
|
@ -8640,6 +8640,8 @@ in {
|
|||||||
|
|
||||||
django-jinja = callPackage ../development/python-modules/django-jinja2 { };
|
django-jinja = callPackage ../development/python-modules/django-jinja2 { };
|
||||||
|
|
||||||
|
django-pglocks = callPackage ../development/python-modules/django-pglocks { };
|
||||||
|
|
||||||
django_polymorphic = callPackage ../development/python-modules/django-polymorphic { };
|
django_polymorphic = callPackage ../development/python-modules/django-polymorphic { };
|
||||||
|
|
||||||
django_tagging = callPackage ../development/python-modules/django_tagging { };
|
django_tagging = callPackage ../development/python-modules/django_tagging { };
|
||||||
|
Loading…
Reference in New Issue
Block a user