mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-14 08:26:37 +01:00
57 lines
1.1 KiB
Nix
57 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
hatchling,
|
|
hatch-requirements-txt,
|
|
hatch-sphinx,
|
|
hatch-vcs,
|
|
h5py,
|
|
lxml,
|
|
numpy,
|
|
columnize,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
let
|
|
pname = "sasdata";
|
|
version = "0.11.0";
|
|
in
|
|
buildPythonPackage {
|
|
inherit pname version;
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-HIqEFN0Y+A4C6oF8NcI1puBt4SmyoNoAFobHQcYepnI=";
|
|
};
|
|
|
|
build-system = [
|
|
hatchling
|
|
hatch-requirements-txt
|
|
hatch-sphinx
|
|
hatch-vcs
|
|
h5py
|
|
lxml
|
|
numpy
|
|
];
|
|
|
|
dependencies = [ columnize ];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
# need network
|
|
disabledTestPaths = [
|
|
"test/sasdataloader/utest_extension_registry.py::ExtensionRegistryTests::test_compare_remote_file_to_local"
|
|
"test/sasdataloader/utest_sesans.py::sesans_reader::test_full_load"
|
|
];
|
|
|
|
pythonImportsCheck = [ "sasdata" ];
|
|
|
|
meta = {
|
|
description = "Package for loading and handling SAS data";
|
|
homepage = "https://github.com/SasView/sasdata";
|
|
license = lib.licenses.bsd3;
|
|
maintainers = with lib.maintainers; [ kyehn ];
|
|
};
|
|
}
|