Something went wrong. Try again.
lol
Something went wrong. Try again.
1.0 kB · 53 lines
Nix
at master
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354{ 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 = [ ]; };}