Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
993 B · 50 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051{ lib, beancount, click, buildPythonPackage, fetchFromGitHub, python-dateutil, pytestCheckHook, setuptools, tatsu-lts,}:buildPythonPackage rec { pname = "beanquery"; version = "0.2.0"; pyproject = true;
src = fetchFromGitHub { owner = "beancount"; repo = "beanquery"; tag = "v${version}"; hash = "sha256-O7+WCF7s50G14oNTvJAOTvgSoNR9fWcn/m1jv7RHmK8="; };
build-system = [ setuptools ];
dependencies = [ beancount click python-dateutil tatsu-lts ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "beanquery" ];
meta = with lib; { homepage = "https://github.com/beancount/beanquery"; description = "Beancount Query Language"; longDescription = '' A customizable light-weight SQL query tool that works on tabular data, including Beancount. ''; license = licenses.gpl2Only; maintainers = with maintainers; [ alapshin ]; mainProgram = "bean-query"; };}