63 lines
1.1 KiB
Nix
63 lines
1.1 KiB
Nix
|
{
|
||
|
lib,
|
||
|
babel,
|
||
|
buildPythonPackage,
|
||
|
cssselect,
|
||
|
fetchFromGitHub,
|
||
|
glibcLocales,
|
||
|
isodate,
|
||
|
leather,
|
||
|
lxml,
|
||
|
parsedatetime,
|
||
|
pyicu,
|
||
|
pytestCheckHook,
|
||
|
python-slugify,
|
||
|
pythonOlder,
|
||
|
pytimeparse,
|
||
|
setuptools,
|
||
|
}:
|
||
|
|
||
|
buildPythonPackage rec {
|
||
|
pname = "agate";
|
||
|
version = "1.11.0";
|
||
|
pyproject = true;
|
||
|
|
||
|
disabled = pythonOlder "3.8";
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "wireservice";
|
||
|
repo = "agate";
|
||
|
rev = "refs/tags/${version}";
|
||
|
hash = "sha256-JVBf21as4DNmGT84dSG+54RIU6PbRBoLPSsWj2FGXxc=";
|
||
|
};
|
||
|
|
||
|
build-system = [ setuptools ];
|
||
|
|
||
|
dependencies = [
|
||
|
babel
|
||
|
isodate
|
||
|
leather
|
||
|
parsedatetime
|
||
|
python-slugify
|
||
|
pytimeparse
|
||
|
];
|
||
|
|
||
|
nativeCheckInputs = [
|
||
|
cssselect
|
||
|
glibcLocales
|
||
|
lxml
|
||
|
pyicu
|
||
|
pytestCheckHook
|
||
|
];
|
||
|
|
||
|
pythonImportsCheck = [ "agate" ];
|
||
|
|
||
|
meta = with lib; {
|
||
|
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/${version}/CHANGELOG.rst";
|
||
|
license = with licenses; [ mit ];
|
||
|
maintainers = [ ];
|
||
|
};
|
||
|
}
|