2020-01-29 17:46:38 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, django, six }:
|
2017-08-31 20:15:35 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "django-pglocks";
|
2019-12-29 09:28:06 +00:00
|
|
|
version = "1.0.4";
|
2017-08-31 20:15:35 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "PostgreSQL locking context managers and functions for Django.";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/Xof/django-pglocks";
|
2017-08-31 20:15:35 +01:00
|
|
|
license = lib.licenses.mit;
|
|
|
|
};
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-12-29 09:28:06 +00:00
|
|
|
sha256 = "3c47c66fbfbd268ef46269673a0516a039539b0972b8ed2ec9cfee44c4b65523";
|
2017-08-31 20:15:35 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ django ];
|
2020-01-29 17:46:38 +00:00
|
|
|
propagatedBuildInputs = [ django six ];
|
2017-08-31 20:15:35 +01:00
|
|
|
|
|
|
|
# tests need a postgres database
|
|
|
|
doCheck = false;
|
|
|
|
}
|