python3Packages.sasmodels: 1.0.10 -> 1.0.11 (#452866)
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "columnize";
|
||||
version = "0.3.11";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rocky";
|
||||
repo = "pycolumnize";
|
||||
tag = "3.11";
|
||||
hash = "sha256-YJEIujoRpLvUM4H4CB1nEJaYStFOSVKIGzchnptlt7M=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "columnize" ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Python module to align a simple (not nested) list in columns";
|
||||
homepage = "https://github.com/rocky/pycolumnize";
|
||||
changelog = "https://github.com/rocky/pycolumnize/blob/${src.tag}/ChangeLog";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ GaetanLepage ];
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,60 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
|
||||
# build-system
|
||||
hatch-vcs,
|
||||
hatchling,
|
||||
|
||||
# dependencies
|
||||
sphinx,
|
||||
|
||||
# tests
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "hatch-sphinx";
|
||||
version = "0.0.4";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "llimeht";
|
||||
repo = "hatch-sphinx";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-8g0UkDMf05CVd2VbnV30pZpQ9chJhCkKfci7zmcIOoQ=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
hatch-vcs
|
||||
hatchling
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
hatchling
|
||||
sphinx
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "hatch_sphinx" ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# /nix/store/62fdlzq1x1ak2lsxp4ij7ip5k9nia3hc-python3-3.13.7/bin/python3.13: No module named build
|
||||
"test_tool_apidoc"
|
||||
"test_tool_build"
|
||||
"test_tool_custom_lists_globs"
|
||||
"test_tool_custom_lists_noglobs"
|
||||
"test_tool_custom_strings"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Hatchling build plugin for Sphinx documentation";
|
||||
homepage = "https://github.com/llimeht/hatch-sphinx";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ GaetanLepage ];
|
||||
};
|
||||
}
|
||||
@@ -2,8 +2,16 @@
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
buildPythonPackage,
|
||||
setuptools,
|
||||
pytestCheckHook,
|
||||
|
||||
# build-system
|
||||
columnize,
|
||||
hatch-requirements-txt,
|
||||
hatch-sphinx,
|
||||
hatch-vcs,
|
||||
hatchling,
|
||||
siphash24,
|
||||
sphinx,
|
||||
|
||||
numpy,
|
||||
scipy,
|
||||
bumps,
|
||||
@@ -12,27 +20,46 @@
|
||||
opencl-headers,
|
||||
pycuda,
|
||||
pyopencl,
|
||||
pythonOlder,
|
||||
|
||||
# optional-dependencies
|
||||
|
||||
# tests
|
||||
pytestCheckHook,
|
||||
writableTmpDirAsHomeHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "sasmodels";
|
||||
version = "1.0.10";
|
||||
version = "1.0.11";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "SasView";
|
||||
repo = "sasmodels";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-cTXFlTCm521+xhcggFvDqVZrTJuDiVZ8PazBwA3mKJU=";
|
||||
hash = "sha256-AtFkcW7h2hMnQAeAk0fGsARXwpuaSb7ERBhdnAH4pCY=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail '"tccbox",' ""
|
||||
'';
|
||||
|
||||
build-system = [
|
||||
columnize
|
||||
hatch-requirements-txt
|
||||
hatch-sphinx
|
||||
hatch-vcs
|
||||
hatchling
|
||||
siphash24
|
||||
sphinx
|
||||
];
|
||||
|
||||
buildInputs = [ opencl-headers ];
|
||||
|
||||
pythonRemoveDeps = [
|
||||
"tccbox" # unpackaged
|
||||
];
|
||||
dependencies = [
|
||||
numpy
|
||||
scipy
|
||||
@@ -43,25 +70,26 @@ buildPythonPackage rec {
|
||||
docutils
|
||||
bumps
|
||||
matplotlib
|
||||
# columnize
|
||||
columnize
|
||||
];
|
||||
server = [ bumps ];
|
||||
opencl = [ pyopencl ];
|
||||
cuda = [ pycuda ];
|
||||
};
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ] ++ optional-dependencies.full;
|
||||
|
||||
preCheck = ''
|
||||
export HOME=$TMPDIR
|
||||
'';
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
writableTmpDirAsHomeHook
|
||||
]
|
||||
++ optional-dependencies.full;
|
||||
|
||||
pythonImportsCheck = [ "sasmodels" ];
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "Library of small angle scattering models";
|
||||
homepage = "https://github.com/SasView/sasmodels";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ rprospero ];
|
||||
changelog = "https://github.com/SasView/sasmodels/blob/${src.tag}/CHANGES.rst";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [ rprospero ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -2881,6 +2881,8 @@ self: super: with self; {
|
||||
|
||||
colout = callPackage ../development/python-modules/colout { };
|
||||
|
||||
columnize = callPackage ../development/python-modules/columnize { };
|
||||
|
||||
comet-ml = callPackage ../development/python-modules/comet-ml { };
|
||||
|
||||
cometblue-lite = callPackage ../development/python-modules/cometblue-lite { };
|
||||
@@ -6554,6 +6556,8 @@ self: super: with self; {
|
||||
|
||||
hatch-requirements-txt = callPackage ../development/python-modules/hatch-requirements-txt { };
|
||||
|
||||
hatch-sphinx = callPackage ../development/python-modules/hatch-sphinx { };
|
||||
|
||||
hatch-vcs = callPackage ../development/python-modules/hatch-vcs { };
|
||||
|
||||
hatchling = callPackage ../development/python-modules/hatchling { };
|
||||
|
||||
Reference in New Issue
Block a user