Something went wrong. Try again.
lol
Something went wrong. Try again.
1.2 kB · 65 lines
Nix
at master
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566{ lib, stdenv, babel, buildPythonPackage, cssselect, fetchFromGitHub, glibcLocales, isodate, leather, lxml, parsedatetime, pyicu, pytestCheckHook, python-slugify, pytimeparse, setuptools,}:
buildPythonPackage (finalAttrs: { pname = "agate"; version = "1.14.1"; pyproject = true;
src = fetchFromGitHub { owner = "wireservice"; repo = "agate"; tag = finalAttrs.version; hash = "sha256-REo26vSWFzWsvJzmqlc5A5xEYA2TebQFW6jFRIbH53I="; };
build-system = [ setuptools ];
dependencies = [ babel isodate leather parsedatetime python-slugify pytimeparse ];
nativeCheckInputs = [ cssselect glibcLocales lxml pyicu pytestCheckHook ];
disabledTests = lib.optionals stdenv.isDarwin [ # Output is slightly different on macOS "test_cast_format_locale" ];
pythonImportsCheck = [ "agate" ];
meta = { description = "Python data analysis library that is optimized for humans instead of machines"; homepage = "https://github.com/wireservice/agate"; changelog = "https://github.com/wireservice/agate/blob/${finalAttrs.src.tag}/CHANGELOG.rst"; license = lib.licenses.mit; maintainers = [ ]; };})