1{ stdenv, buildPythonPackage, fetchPypi, isPy3k
2, beautifulsoup4, bottle, chardet, dateutil
3, google_api_python_client, lxml, ply, python_magic
4, pytest, requests }:
5
6buildPythonPackage rec {
7 version = "2.2.1";
8 pname = "beancount";
9
10 disabled = !isPy3k;
11
12 src = fetchPypi {
13 inherit pname version;
14 sha256 = "0xrgmqv0wsc0makm5i6jwng99yp3rvm30v2xqmcah60fgjymkjzb";
15 };
16
17 # No tests in archive
18 doCheck = false;
19
20 propagatedBuildInputs = [
21 beautifulsoup4
22 bottle
23 chardet
24 dateutil
25 google_api_python_client
26 lxml
27 ply
28 python_magic
29 requests
30 # pytest really is a runtime dependency
31 # https://bitbucket.org/blais/beancount/commits/554e13057551951e113835196770847c788dd592
32 pytest
33 ];
34
35 meta = {
36 homepage = http://furius.ca/beancount/;
37 description = "Double-entry bookkeeping computer language";
38 longDescription = ''
39 A double-entry bookkeeping computer language that lets you define
40 financial transaction records in a text file, read them in memory,
41 generate a variety of reports from them, and provides a web interface.
42 '';
43 license = stdenv.lib.licenses.gpl2;
44 maintainers = with stdenv.lib.maintainers; [ ];
45 };
46}
47