depot/third_party/nixpkgs/pkgs/development/python-modules/django-pglocks/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

33 lines
623 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
django,
six,
}:
buildPythonPackage rec {
pname = "django-pglocks";
version = "1.0.4";
format = "setuptools";
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 = "3c47c66fbfbd268ef46269673a0516a039539b0972b8ed2ec9cfee44c4b65523";
};
buildInputs = [ django ];
propagatedBuildInputs = [
django
six
];
# tests need a postgres database
doCheck = false;
}