Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142{ lib, buildPythonPackage, fetchPypi, setuptools, django, six,}:
buildPythonPackage (finalAttrs: { pname = "django-pglocks"; version = "1.0.4"; pyproject = true;
__structuredAttrs = true;
src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-PEfGb7+9Jo70YmlnOgUWoDlTmwlyuO0uyc/uRMS2VSM="; };
build-system = [ setuptools ];
buildInputs = [ django ];
dependencies = [ django six ];
# tests need a postgres database doCheck = false;
pythonImportsCheck = [ "django_pglocks" ];
meta = { description = "PostgreSQL locking context managers and functions for Django"; homepage = "https://github.com/Xof/django-pglocks"; license = lib.licenses.mit; };})