Skip to content

Commit 9dae736

Browse files
authoredMar 23, 2025
python312Packages.sciform: init at 0.39.0 (#392157)
2 parents a5af981 + 4d4a78b commit 9dae736

File tree

2 files changed

+49
-0
lines changed

2 files changed

+49
-0
lines changed
 
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
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+
downloadPage = "https://github.com/jagerber48/sciform";
43+
changelog = "https://github.com/jagerber48/sciform/blob/${src.tag}/CHANGELOG.rst";
44+
license = lib.licenses.mit;
45+
maintainers = with lib.maintainers; [ doronbehar ];
46+
};
47+
}

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

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

1491814918
scienceplots = callPackage ../development/python-modules/scienceplots { };
1491914919

14920+
sciform = callPackage ../development/python-modules/sciform { };
14921+
1492014922
scim2-client = callPackage ../development/python-modules/scim2-client { };
1492114923

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

0 commit comments

Comments
 (0)
Failed to load comments.