summary refs log tree commit diff
path: root/pkgs/development/python-modules/django-pglocks/default.nix
blob: b2ee7b6f6442f08bfccf9df137f6ba445a3c196c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ lib, buildPythonPackage, fetchPypi, django }:

buildPythonPackage rec {
  pname = "django-pglocks";
  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;
}