Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 17.09 875 B view raw
1{ stdenv, fetchPypi, buildPythonPackage, isPy3k, 2 discid, six, parsedatetime, isodate, Babel, pytimeparse, 3 leather, python-slugify }: 4 5buildPythonPackage rec { 6 name = "${pname}-${version}"; 7 pname = "agate"; 8 version = "1.6.0"; 9 10 src = fetchPypi { 11 inherit pname version; 12 sha256 = "02pb5jjvzjqfpsa7q12afbk9nqj06xdpw1s7qa6a1bnalikfniqm"; 13 }; 14 15 propagatedBuildInputs = [ discid six parsedatetime 16 isodate Babel pytimeparse leather python-slugify ]; 17 18 doCheck = !isPy3k; 19 # (only) on python3 unittest loader (loadTestsFromModule) fails 20 21 meta = with stdenv.lib; { 22 description = "A Python data analysis library that is optimized for humans instead of machines"; 23 homepage = https://github.com/wireservice/agate; 24 license = with licenses; [ mit ]; 25 maintainers = with maintainers; [ vrthra ]; 26 }; 27}