1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-14 08:34:50 +00:00
nixpkgs/pkgs/development/python-modules/django-pglocks/default.nix
2019-10-18 09:53:57 +02:00

24 lines
567 B
Nix

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