Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09-beta 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.3.1"; 8 pname = "beancount"; 9 10 disabled = !isPy3k; 11 12 src = fetchPypi { 13 inherit pname version; 14 sha256 = "e12abfe0a6b38ce3525adb471ca5b8e3fa4056ff712108de48da53405c518a11"; 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