60f248e686
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. This update was made based on information from https://repology.org/metapackage/beancount/versions. These checks were done: - built on NixOS - ran `/nix/store/5r7zwzwph71lx046skfi6jc6akxwr5kl-beancount-2.0.0/bin/.bean-bake-wrapped -h` got 0 exit code - ran `/nix/store/5r7zwzwph71lx046skfi6jc6akxwr5kl-beancount-2.0.0/bin/.bean-bake-wrapped --help` got 0 exit code - ran `/nix/store/5r7zwzwph71lx046skfi6jc6akxwr5kl-beancount-2.0.0/bin/bean-bake -h` got 0 exit code - ran `/nix/store/5r7zwzwph71lx046skfi6jc6akxwr5kl-beancount-2.0.0/bin/bean-bake --help` got 0 exit code - ran `/nix/store/5r7zwzwph71lx046skfi6jc6akxwr5kl-beancount-2.0.0/bin/.bean-check-wrapped -h` got 0 exit code - ran `/nix/store/5r7zwzwph71lx046skfi6jc6akxwr5kl-beancount-2.0.0/bin/.bean-check-wrapped --help` got 0 exit code - ran `/nix/store/5r7zwzwph71lx046skfi6jc6akxwr5kl-beancount-2.0.0/bin/bean-check -h` got 0 exit code - ran `/nix/store/5r7zwzwph71lx046skfi6jc6akxwr5kl-beancount-2.0.0/bin/bean-check --help` got 0 exit code - ran `/nix/store/5r7zwzwph71lx046skfi6jc6akxwr5kl-beancount-2.0.0/bin/.bean-doctor-wrapped -h` got 0 exit code - ran `/nix/store/5r7zwzwph71lx046skfi6jc6akxwr5kl-beancount-2.0.0/bin/.bean-doctor-wrapped --help` got 0 exit code - ran `/nix/store/5r7zwzwph71lx046skfi6jc6akxwr5kl-beancount-2.0.0/bin/bean-doctor -h` got 0 exit code - ran `/nix/store/5r7zwzwph71lx046skfi6jc6akxwr5kl-beancount-2.0.0/bin/bean-doctor --help` got 0 exit code - ran `/nix/store/5r7zwzwph71lx046skfi6jc6akxwr5kl-beancount-2.0.0/bin/.bean-example-wrapped -h` got 0 exit code - ran `/nix/store/5r7zwzwph71lx046skfi6jc6akxwr5kl-beancount-2.0.0/bin/.bean-example-wrapped --help` got 0 exit code - ran `/nix/store/5r7zwzwph71lx046skfi6jc6akxwr5kl-beancount-2.0.0/bin/bean-example -h` got 0 exit code - ran `/nix/store/5r7zwzwph71lx046skfi6jc6akxwr5kl-beancount-2.0.0/bin/bean-example --help` got 0 exit code - ran `/nix/store/5r7zwzwph71lx046skfi6jc6akxwr5kl-beancount-2.0.0/bin/.bean-extract-wrapped -h` got 0 exit code - ran `/nix/store/5r7zwzwph71lx046skfi6jc6akxwr5kl-beancount-2.0.0/bin/.bean-extract-wrapped --help` got 0 exit code - ran `/nix/store/5r7zwzwph71lx046skfi6jc6akxwr5kl-beancount-2.0.0/bin/bean-extract -h` got 0 exit code - ran `/nix/store/5r7zwzwph71lx046skfi6jc6akxwr5kl-beancount-2.0.0/bin/bean-extract --help` got 0 exit code - ran `/nix/store/5r7zwzwph71lx046skfi6jc6akxwr5kl-beancount-2.0.0/bin/.bean-file-wrapped -h` got 0 exit code - ran `/nix/store/5r7zwzwph71lx046skfi6jc6akxwr5kl-beancount-2.0.0/bin/.bean-file-wrapped --help` got 0 exit code - ran `/nix/store/5r7zwzwph71lx046skfi6jc6akxwr5kl-beancount-2.0.0/bin/bean-file -h` got 0 exit code - ran `/nix/store/5r7zwzwph71lx046skfi6jc6akxwr5kl-beancount-2.0.0/bin/bean-file --help` got 0 exit code - ran `/nix/store/5r7zwzwph71lx046skfi6jc6akxwr5kl-beancount-2.0.0/bin/.bean-format-wrapped -h` got 0 exit code - ran `/nix/store/5r7zwzwph71lx046skfi6jc6akxwr5kl-beancount-2.0.0/bin/.bean-format-wrapped --help` got 0 exit code - ran `/nix/store/5r7zwzwph71lx046skfi6jc6akxwr5kl-beancount-2.0.0/bin/bean-format -h` got 0 exit code - ran `/nix/store/5r7zwzwph71lx046skfi6jc6akxwr5kl-beancount-2.0.0/bin/bean-format --help` got 0 exit code - ran `/nix/store/5r7zwzwph71lx046skfi6jc6akxwr5kl-beancount-2.0.0/bin/.bean-identify-wrapped -h` got 0 exit code - ran `/nix/store/5r7zwzwph71lx046skfi6jc6akxwr5kl-beancount-2.0.0/bin/.bean-identify-wrapped --help` got 0 exit code - ran `/nix/store/5r7zwzwph71lx046skfi6jc6akxwr5kl-beancount-2.0.0/bin/bean-identify -h` got 0 exit code - ran `/nix/store/5r7zwzwph71lx046skfi6jc6akxwr5kl-beancount-2.0.0/bin/bean-identify --help` got 0 exit code - ran `/nix/store/5r7zwzwph71lx046skfi6jc6akxwr5kl-beancount-2.0.0/bin/.bean-price-wrapped -h` got 0 exit code - ran `/nix/store/5r7zwzwph71lx046skfi6jc6akxwr5kl-beancount-2.0.0/bin/.bean-price-wrapped --help` got 0 exit code - ran `/nix/store/5r7zwzwph71lx046skfi6jc6akxwr5kl-beancount-2.0.0/bin/bean-price -h` got 0 exit code - ran `/nix/store/5r7zwzwph71lx046skfi6jc6akxwr5kl-beancount-2.0.0/bin/bean-price --help` got 0 exit code - ran `/nix/store/5r7zwzwph71lx046skfi6jc6akxwr5kl-beancount-2.0.0/bin/.bean-query-wrapped -h` got 0 exit code - ran `/nix/store/5r7zwzwph71lx046skfi6jc6akxwr5kl-beancount-2.0.0/bin/.bean-query-wrapped --help` got 0 exit code - ran `/nix/store/5r7zwzwph71lx046skfi6jc6akxwr5kl-beancount-2.0.0/bin/bean-query -h` got 0 exit code - ran `/nix/store/5r7zwzwph71lx046skfi6jc6akxwr5kl-beancount-2.0.0/bin/bean-query --help` got 0 exit code - ran `/nix/store/5r7zwzwph71lx046skfi6jc6akxwr5kl-beancount-2.0.0/bin/.bean-report-wrapped -h` got 0 exit code - ran `/nix/store/5r7zwzwph71lx046skfi6jc6akxwr5kl-beancount-2.0.0/bin/.bean-report-wrapped --help` got 0 exit code - ran `/nix/store/5r7zwzwph71lx046skfi6jc6akxwr5kl-beancount-2.0.0/bin/.bean-report-wrapped help` got 0 exit code - ran `/nix/store/5r7zwzwph71lx046skfi6jc6akxwr5kl-beancount-2.0.0/bin/bean-report -h` got 0 exit code - ran `/nix/store/5r7zwzwph71lx046skfi6jc6akxwr5kl-beancount-2.0.0/bin/bean-report --help` got 0 exit code - ran `/nix/store/5r7zwzwph71lx046skfi6jc6akxwr5kl-beancount-2.0.0/bin/bean-report help` got 0 exit code - ran `/nix/store/5r7zwzwph71lx046skfi6jc6akxwr5kl-beancount-2.0.0/bin/.bean-sql-wrapped -h` got 0 exit code - ran `/nix/store/5r7zwzwph71lx046skfi6jc6akxwr5kl-beancount-2.0.0/bin/.bean-sql-wrapped --help` got 0 exit code - ran `/nix/store/5r7zwzwph71lx046skfi6jc6akxwr5kl-beancount-2.0.0/bin/bean-sql -h` got 0 exit code - ran `/nix/store/5r7zwzwph71lx046skfi6jc6akxwr5kl-beancount-2.0.0/bin/bean-sql --help` got 0 exit code - ran `/nix/store/5r7zwzwph71lx046skfi6jc6akxwr5kl-beancount-2.0.0/bin/.bean-web-wrapped -h` got 0 exit code - ran `/nix/store/5r7zwzwph71lx046skfi6jc6akxwr5kl-beancount-2.0.0/bin/.bean-web-wrapped --help` got 0 exit code - ran `/nix/store/5r7zwzwph71lx046skfi6jc6akxwr5kl-beancount-2.0.0/bin/bean-web -h` got 0 exit code - ran `/nix/store/5r7zwzwph71lx046skfi6jc6akxwr5kl-beancount-2.0.0/bin/bean-web --help` got 0 exit code - ran `/nix/store/5r7zwzwph71lx046skfi6jc6akxwr5kl-beancount-2.0.0/bin/.treeify-wrapped -h` got 0 exit code - ran `/nix/store/5r7zwzwph71lx046skfi6jc6akxwr5kl-beancount-2.0.0/bin/.treeify-wrapped --help` got 0 exit code - ran `/nix/store/5r7zwzwph71lx046skfi6jc6akxwr5kl-beancount-2.0.0/bin/treeify -h` got 0 exit code - ran `/nix/store/5r7zwzwph71lx046skfi6jc6akxwr5kl-beancount-2.0.0/bin/treeify --help` got 0 exit code - ran `/nix/store/5r7zwzwph71lx046skfi6jc6akxwr5kl-beancount-2.0.0/bin/.upload-to-sheets-wrapped -h` got 0 exit code - ran `/nix/store/5r7zwzwph71lx046skfi6jc6akxwr5kl-beancount-2.0.0/bin/.upload-to-sheets-wrapped --help` got 0 exit code - ran `/nix/store/5r7zwzwph71lx046skfi6jc6akxwr5kl-beancount-2.0.0/bin/upload-to-sheets -h` got 0 exit code - ran `/nix/store/5r7zwzwph71lx046skfi6jc6akxwr5kl-beancount-2.0.0/bin/upload-to-sheets --help` got 0 exit code - found 2.0.0 with grep in /nix/store/5r7zwzwph71lx046skfi6jc6akxwr5kl-beancount-2.0.0 - directory tree listing: https://gist.github.com/3d2aa084b7967bb83107f51498228abe
45 lines
1.2 KiB
Nix
45 lines
1.2 KiB
Nix
{ stdenv, fetchhg, pkgs, pythonPackages }:
|
|
|
|
pythonPackages.buildPythonApplication rec {
|
|
version = "2.0.0";
|
|
name = "beancount-${version}";
|
|
namePrefix = "";
|
|
|
|
src = pkgs.fetchurl {
|
|
url = "mirror://pypi/b/beancount/${name}.tar.gz";
|
|
sha256 = "0wxwf02d3raglwqsxdsgf89fniakv1m19q825w76k5z004g18y42";
|
|
};
|
|
|
|
buildInputs = with pythonPackages; [ nose ];
|
|
|
|
# Automatic tests cannot be run because it needs to import some local modules for tests.
|
|
doCheck = false;
|
|
checkPhase = ''
|
|
nosetests
|
|
'';
|
|
|
|
propagatedBuildInputs = with pythonPackages; [
|
|
beautifulsoup4
|
|
bottle
|
|
chardet
|
|
dateutil
|
|
google_api_python_client
|
|
lxml
|
|
ply
|
|
python_magic
|
|
];
|
|
|
|
meta = {
|
|
homepage = http://furius.ca/beancount/;
|
|
description = "Double-entry bookkeeping computer language";
|
|
longDescription = ''
|
|
A double-entry bookkeeping computer language that lets you define
|
|
financial transaction records in a text file, read them in memory,
|
|
generate a variety of reports from them, and provides a web interface.
|
|
'';
|
|
license = stdenv.lib.licenses.gpl2;
|
|
maintainers = with stdenv.lib.maintainers; [ matthiasbeyer ];
|
|
};
|
|
}
|
|
|