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