Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 59 lines 1.3 kB view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, isPy3k 5, beautifulsoup4 6, bottle 7, chardet 8, dateutil 9, google-api-python-client 10, lxml 11, oauth2client 12, ply 13, pytest 14, python_magic 15, requests 16}: 17 18buildPythonPackage rec { 19 version = "2.3.4"; 20 pname = "beancount"; 21 22 disabled = !isPy3k; 23 24 src = fetchPypi { 25 inherit pname version; 26 sha256 = "sha256-K/CM5qldmAAPTXM5WYXNHeuBwNUu1aduYQusd9gvhsA="; 27 }; 28 29 # Tests require files not included in the PyPI archive. 30 doCheck = false; 31 32 propagatedBuildInputs = [ 33 beautifulsoup4 34 bottle 35 chardet 36 dateutil 37 google-api-python-client 38 lxml 39 oauth2client 40 ply 41 python_magic 42 requests 43 # pytest really is a runtime dependency 44 # https://github.com/beancount/beancount/blob/v2/setup.py#L81-L82 45 pytest 46 ]; 47 48 meta = with lib; { 49 homepage = "http://furius.ca/beancount/"; 50 description = "Double-entry bookkeeping computer language"; 51 longDescription = '' 52 A double-entry bookkeeping computer language that lets you define 53 financial transaction records in a text file, read them in memory, 54 generate a variety of reports from them, and provides a web interface. 55 ''; 56 license = licenses.gpl2Only; 57 maintainers = with maintainers; [ bhipple ]; 58 }; 59}