nixpkgs/pkgs/development/python-modules/pymemoize/default.nix
Guillaume Girol 33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00

30 lines
769 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, django
}:
buildPythonPackage rec {
pname = "pymemoize";
version = "1.0.3";
src = fetchPypi {
inherit version;
pname = "PyMemoize";
sha256 = "0yqr60hm700zph6nv8wb6yp2s0i08mahxvw98bvkmw5ijbsviiq7";
};
nativeCheckInputs = [ django ];
# django.core.exceptions.ImproperlyConfigured: Requested settings, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings
doCheck = false;
meta = with lib; {
description = "Simple Python cache and memoizing module";
homepage = "https://github.com/mikeboers/PyMemoize";
license = licenses.bsd3;
maintainers = with maintainers; [ mmai ];
};
}