push sheeet
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s

This commit is contained in:
Dark Steveneq
2025-10-09 14:15:47 +02:00
commit 646b892680
49168 changed files with 5897842 additions and 0 deletions

View File

@@ -0,0 +1,43 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
fetchpatch2,
poetry-core,
}:
buildPythonPackage rec {
pname = "memory-tempfile";
version = "2.2.3";
pyproject = true;
src = fetchFromGitHub {
owner = "mbello";
repo = "memory-tempfile";
rev = "v${version}";
hash = "sha256-4fz2CLkZdy2e1GwGw/afG54LkUVJ4cza70jcbX3rVlQ=";
};
patches = [
(fetchpatch2 {
# Migrate to poetry-core build backend
# https://github.com/mbello/memory-tempfile/pull/13
name = "poetry-core.patch";
url = "https://github.com/mbello/memory-tempfile/commit/938a3a3abf01756b1629eca6c69e970021bbc7c0.patch";
hash = "sha256-q3027MwKXtX09MH7T2UrX19BImK1FJo+YxADfxcdTME=";
})
];
build-system = [ poetry-core ];
doCheck = false; # constrained selection of memory backed filesystems due to build sandbox
pythonImportsCheck = [ "memory_tempfile" ];
meta = with lib; {
description = "Create temporary files and temporary dirs in memory-based filesystems on Linux";
homepage = "https://github.com/mbello/memory-tempfile";
license = licenses.mit;
maintainers = with maintainers; [ hexa ];
};
}