mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-21 16:11:22 +00:00
Merge pull request #265858 from mweinelt/lru-dict-1.3.0
python311Packages.lru-dict: 1.2.0 -> 1.3.0
This commit is contained in:
@@ -3,23 +3,28 @@
|
||||
, fetchPypi
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
}:
|
||||
|
||||
let
|
||||
pname = "lru-dict";
|
||||
version = "1.2.0";
|
||||
version = "1.3.0";
|
||||
in
|
||||
buildPythonPackage {
|
||||
inherit pname version;
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-E8VngvGdaN302NsBcAQRkoWWFlFMcGsSbQ3y7HKhG9c=";
|
||||
hash = "sha256-VP0ZZta9H83ngVlsuGBoIU7e6/8dsTos6hEHnj/Qe2s=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
, callPackage
|
||||
, fetchFromGitHub
|
||||
, fetchPypi
|
||||
, fetchpatch
|
||||
, python311
|
||||
, substituteAll
|
||||
, ffmpeg-headless
|
||||
@@ -399,6 +400,13 @@ in python.pkgs.buildPythonApplication rec {
|
||||
src = ./patches/ffmpeg-path.patch;
|
||||
ffmpeg = "${lib.getBin ffmpeg-headless}/bin/ffmpeg";
|
||||
})
|
||||
(fetchpatch {
|
||||
# freeze time in litterrobot tests
|
||||
# https://github.com/home-assistant/core/pull/103444
|
||||
name = "home-assistant-litterrobot-freeze-test-time.patch";
|
||||
url = "https://github.com/home-assistant/core/commit/806205952ff863e2cf1875be406ea0254be5f13a.patch";
|
||||
hash = "sha256-OVbmJWy275nYWrif9awAGIYlgZqrRPcYBhB0Vil8rmk=";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = let
|
||||
|
||||
Reference in New Issue
Block a user