nixpkgs/pkgs/development/python-modules/django-pglocks/default.nix
Frederik Rietdijk c51b089392 Merge pull request #29009 from FRidh/python-fixes-2
Python: several fixes (2)
(cherry picked from commit aabadda0c2)
2017-09-07 10:23:26 +02:00

24 lines
587 B
Nix

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