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

28 lines
887 B
Nix
Raw Normal View History

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