mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-27 10:44:36 +00:00
Diff: https://github.com/usnistgov/pycdcs/compare/v0.2.6...v0.2.7 Changelog: https://github.com/usnistgov/pycdcs/releases/tag/v0.2.7
58 lines
1.1 KiB
Nix
58 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
ipython,
|
|
numpy,
|
|
pandas,
|
|
pytestCheckHook,
|
|
requests,
|
|
responses,
|
|
tqdm,
|
|
uv-build,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "cdcs";
|
|
version = "0.2.7";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "usnistgov";
|
|
repo = "pycdcs";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-UpPoTdcDDCmombeScFgjsFX+//Yfnn+ClDwYsZh0dxI=";
|
|
};
|
|
|
|
build-system = [ uv-build ];
|
|
|
|
dependencies = [
|
|
ipython
|
|
numpy
|
|
pandas
|
|
requests
|
|
tqdm
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
responses
|
|
];
|
|
|
|
pythonImportsCheck = [ "cdcs" ];
|
|
|
|
disabledTests = [
|
|
# Assertion errors
|
|
"test_get_workspaces_v2"
|
|
"test_get_workspaces_v3"
|
|
];
|
|
|
|
meta = {
|
|
description = "Python client for performing REST calls to configurable data curation system (CDCS) databases";
|
|
homepage = "https://github.com/usnistgov/pycdcs";
|
|
changelog = "https://github.com/usnistgov/pycdcs/releases/tag/${finalAttrs.src.tag}";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ fab ];
|
|
};
|
|
})
|