11 buildPythonPackage rec {
12 pname = "expiringdict";
14 format = "setuptools";
16 # use fetchFromGitHub instead of fetchPypi because the test suite of
17 # the package is not included into the PyPI tarball
18 src = fetchFromGitHub {
21 rev = "refs/tags/v${version}";
22 hash = "sha256-vRhJSHIqc51I+s/wndtfANM44CKW3QS1iajqyoSBf0I=";
35 nosetests -v --with-coverage --cover-package=expiringdict
39 pythonImportsCheck = [
44 description = "Dictionary with auto-expiring values for caching purposes";
45 homepage = "https://github.com/mailgun/expiringdict";
46 license = licenses.asl20;
47 maintainers = with maintainers; [ gravndal ];