1 { lib, buildPythonPackage, fetchPypi, django, six }:
3 buildPythonPackage rec {
4 pname = "django-pglocks";
8 description = "PostgreSQL locking context managers and functions for Django.";
9 homepage = "https://github.com/Xof/django-pglocks";
10 license = lib.licenses.mit;
14 inherit pname version;
15 sha256 = "3c47c66fbfbd268ef46269673a0516a039539b0972b8ed2ec9cfee44c4b65523";
18 buildInputs = [ django ];
19 propagatedBuildInputs = [ django six ];
21 # tests need a postgres database