Skip to content

Commit b56bb3b

Browse files
committedMar 22, 2025
python312Packages.sciform: init at 0.39.0
1 parent afdcdae commit b56bb3b

File tree

2 files changed

+48
-0
lines changed

2 files changed

+48
-0
lines changed
 
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
{
2+
lib,
3+
buildPythonPackage,
4+
fetchFromGitHub,
5+
6+
# build-system
7+
setuptools,
8+
setuptools-scm,
9+
10+
# tests
11+
pytestCheckHook,
12+
}:
13+
14+
buildPythonPackage rec {
15+
pname = "sciform";
16+
version = "0.39.0";
17+
pyproject = true;
18+
19+
src = fetchFromGitHub {
20+
owner = "jagerber48";
21+
repo = "sciform";
22+
tag = version;
23+
hash = "sha256-5rgTnvckR9bGDgcVZEie+swpc5MEwKQuFHa7zvHiqr8=";
24+
};
25+
26+
build-system = [
27+
setuptools
28+
setuptools-scm
29+
];
30+
31+
nativeCheckInputs = [
32+
pytestCheckHook
33+
];
34+
35+
pythonImportsCheck = [
36+
"sciform"
37+
];
38+
39+
meta = {
40+
description = "A package for formatting numbers into scientific formatted strings";
41+
homepage = "https://sciform.readthedocs.io/en/stable/";
42+
changelog = "https://github.com/jagerber48/sciform/blob/${src.rev}/CHANGELOG.rst";
43+
license = lib.licenses.mit;
44+
maintainers = with lib.maintainers; [ doronbehar ];
45+
};
46+
}

‎pkgs/top-level/python-packages.nix

+2
Original file line numberDiff line numberDiff line change
@@ -14865,6 +14865,8 @@ self: super: with self; {
1486514865

1486614866
scienceplots = callPackage ../development/python-modules/scienceplots { };
1486714867

14868+
sciform = callPackage ../development/python-modules/sciform { };
14869+
1486814870
scim2-client = callPackage ../development/python-modules/scim2-client { };
1486914871

1487014872
scim2-filter-parser = callPackage ../development/python-modules/scim2-filter-parser { };

0 commit comments

Comments
 (0)
Failed to load comments.