f6d71bf3bd
Per their profile, no nixpkgs activity since December 2023.
54 lines
1018 B
Nix
54 lines
1018 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools-scm,
|
|
loguru,
|
|
mbstrdecoder,
|
|
pytestCheckHook,
|
|
tcolorpy,
|
|
termcolor,
|
|
typepy,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "dataproperty";
|
|
version = "1.1.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "thombashi";
|
|
repo = "dataproperty";
|
|
tag = "v${version}";
|
|
hash = "sha256-IEEwdOcC9nKwVumWnjpZlqYKCFGwZebMh7nGdGVjibE=";
|
|
};
|
|
|
|
build-system = [ setuptools-scm ];
|
|
|
|
dependencies = [
|
|
mbstrdecoder
|
|
typepy
|
|
tcolorpy
|
|
]
|
|
++ typepy.optional-dependencies.datetime;
|
|
|
|
optional-dependencies = {
|
|
logging = [ loguru ];
|
|
};
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
termcolor
|
|
];
|
|
|
|
pythonImportsCheck = [ "dataproperty" ];
|
|
|
|
meta = {
|
|
description = "Library for extracting properties from data";
|
|
homepage = "https://github.com/thombashi/DataProperty";
|
|
changelog = "https://github.com/thombashi/DataProperty/releases/tag/${src.tag}";
|
|
license = lib.licenses.mit;
|
|
maintainers = [ ];
|
|
};
|
|
}
|