python.pkgs.backports_functools_lru_cache: move expression

This commit is contained in:
Frederik Rietdijk
2017-12-30 13:36:54 +01:00
parent 812d1b354f
commit 5be749f4e0
2 changed files with 25 additions and 18 deletions

View File

@@ -0,0 +1,24 @@
{ lib
, buildPythonPackage
, fetchPypi
, setuptools_scm
}:
buildPythonPackage rec {
pname = "backports.functools_lru_cache";
version = "1.3";
src = fetchPypi {
inherit pname version;
sha256 = "444a21bcec4ae177da554321f81a78dc879eaa8f6ea9920cb904830585d31e95";
};
buildInputs = [ setuptools_scm ];
doCheck = false; # No proper test
meta = {
description = "Backport of functools.lru_cache";
homepage = https://github.com/jaraco/backports.functools_lru_cache;
license = lib.licenses.mit;
};
}