about summary refs log tree commit diff
path: root/pkgs/development/python-modules/agate/default.nix
blob: 57a34268df86c137087b48cfe4a92800baff0fad (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ stdenv, fetchPypi, buildPythonPackage, isPy3k,
  discid, six, parsedatetime, isodate, Babel, pytimeparse,
  leather, python-slugify }:

buildPythonPackage rec {
    pname = "agate";
    version = "1.6.1";

    src = fetchPypi {
      inherit pname version;
      sha256 = "c93aaa500b439d71e4a5cf088d0006d2ce2c76f1950960c8843114e5f361dfd3";
    };

    propagatedBuildInputs = [ discid six parsedatetime
         isodate Babel pytimeparse leather python-slugify ];

    doCheck = !isPy3k;
    # (only) on python3 unittest loader (loadTestsFromModule) fails

    meta = with stdenv.lib; {
      description = "A Python data analysis library that is optimized for humans instead of machines";
      homepage    = https://github.com/wireservice/agate;
      license     = with licenses; [ mit ];
      maintainers = with maintainers; [ vrthra ];
    };
}