Something went wrong. Try again.
lol
Something went wrong. Try again.
1.0 kB · 53 lines
Nix
at master
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354{ lib, buildPythonPackage, fetchFromGitHub,
# build-system setuptools, setuptools-scm, wheel,
# dependencies typing-extensions,
# checks pytestCheckHook, pytest-mpl,}:
buildPythonPackage rec { pname = "flexcache"; version = "0.3"; pyproject = true;
src = fetchFromGitHub { owner = "hgrecco"; repo = "flexcache"; rev = version; hash = "sha256-MAbTe7NxzfRPzo/Wnb5SnPJvJWf6zVeYsaw/g9OJYSE="; };
build-system = [ setuptools setuptools-scm wheel ];
dependencies = [ typing-extensions ];
nativeCheckInputs = [ pytestCheckHook pytest-mpl ];
pythonImportsCheck = [ "flexcache" ];
meta = { description = "Robust and extensible package to cache on disk the result of expensive calculations"; homepage = "https://github.com/hgrecco/flexcache"; changelog = "https://github.com/hgrecco/flexcache/blob/${src.rev}/CHANGES"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ doronbehar ]; };}