pythonPackages.pymemoize: init at 1.0.3
This commit is contained in:
parent
f975f511ab
commit
1b11d0f80f
2 changed files with 31 additions and 0 deletions
29
pkgs/development/python-modules/pymemoize/default.nix
Normal file
29
pkgs/development/python-modules/pymemoize/default.nix
Normal file
|
@ -0,0 +1,29 @@
|
|||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, django
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pymemoize";
|
||||
version = "1.0.3";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit version;
|
||||
pname = "PyMemoize";
|
||||
sha256 = "0yqr60hm700zph6nv8wb6yp2s0i08mahxvw98bvkmw5ijbsviiq7";
|
||||
};
|
||||
|
||||
checkInputs = [ 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 stdenv.lib; {
|
||||
description = "Simple Python cache and memoizing module";
|
||||
homepage = "https://github.com/mikeboers/PyMemoize";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ mmai ];
|
||||
};
|
||||
}
|
||||
|
|
@ -4488,6 +4488,8 @@ in {
|
|||
|
||||
pykickstart = callPackage ../development/python-modules/pykickstart { };
|
||||
|
||||
pymemoize = callPackage ../development/python-modules/pymemoize { };
|
||||
|
||||
pyobjc = if stdenv.isDarwin
|
||||
then callPackage ../development/python-modules/pyobjc {}
|
||||
else throw "pyobjc can only be built on Mac OS";
|
||||
|
|
Loading…
Reference in a new issue