1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/django-pglocks/default.nix

24 lines
578 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchPypi, django, six }:
buildPythonPackage rec {
pname = "django-pglocks";
2019-12-29 09:28:06 +00:00
version = "1.0.4";
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;
2019-12-29 09:28:06 +00:00
sha256 = "3c47c66fbfbd268ef46269673a0516a039539b0972b8ed2ec9cfee44c4b65523";
};
buildInputs = [ django ];
propagatedBuildInputs = [ django six ];
# tests need a postgres database
doCheck = false;
}