nixpkgs/pkgs/development/python-modules/agate/default.nix

27 lines
853 B
Nix
Raw Normal View History

2017-05-03 06:08:10 +02:00
{ stdenv, fetchPypi, buildPythonPackage, isPy3k,
discid, six, parsedatetime, isodate, Babel, pytimeparse,
leather, python-slugify }:
buildPythonPackage rec {
pname = "agate";
2018-04-04 20:00:39 +02:00
version = "1.6.1";
2017-05-03 06:08:10 +02:00
src = fetchPypi {
inherit pname version;
2018-04-04 20:00:39 +02:00
sha256 = "c93aaa500b439d71e4a5cf088d0006d2ce2c76f1950960c8843114e5f361dfd3";
2017-05-03 06:08:10 +02:00
};
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 ];
};
}