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