Skip to content

Commit fb44ac9

Browse files
committed
python312Packages.checkpoint-schedules: init at 1.0.4
1 parent 55e8dc3 commit fb44ac9

File tree

2 files changed

+44
-0
lines changed

2 files changed

+44
-0
lines changed
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
lib,
3+
buildPythonPackage,
4+
fetchFromGitHub,
5+
setuptools,
6+
numpy,
7+
pytestCheckHook,
8+
}:
9+
10+
buildPythonPackage rec {
11+
pname = "checkpoint-schedules";
12+
version = "1.0.4";
13+
pyproject = true;
14+
15+
src = fetchFromGitHub {
16+
owner = "firedrakeproject";
17+
repo = "checkpoint_schedules";
18+
tag = "v${version}";
19+
hash = "sha256-3bn/KxxtRLRtOHFeULQdnndonpuhuYLL8/y/zoAurzY=";
20+
};
21+
22+
build-system = [ setuptools ];
23+
24+
dependencies = [
25+
numpy
26+
];
27+
28+
pythonImportsCheck = [
29+
"checkpoint_schedules"
30+
];
31+
32+
nativeCheckInputs = [ pytestCheckHook ];
33+
34+
meta = {
35+
homepage = "https://www.firedrakeproject.org/checkpoint_schedules";
36+
downloadPage = "https://github.com/firedrakeproject/checkpoint_schedules";
37+
description = "Schedules for incremental checkpointing of adjoint simulations";
38+
changelog = "https://github.com/firedrakeproject/checkpoint_schedules/releases/tag/${src.tag}";
39+
license = lib.licenses.lgpl3Only;
40+
maintainers = with lib.maintainers; [ qbisi ];
41+
};
42+
}

pkgs/top-level/python-packages.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2402,6 +2402,8 @@ self: super: with self; {
24022402

24032403
checkdmarc = callPackage ../development/python-modules/checkdmarc { };
24042404

2405+
checkpoint-schedules = callPackage ../development/python-modules/checkpoint-schedules { };
2406+
24052407
checksumdir = callPackage ../development/python-modules/checksumdir { };
24062408

24072409
cheetah3 = callPackage ../development/python-modules/cheetah3 { };

0 commit comments

Comments
 (0)