ced21f5e1a
The `buildPython*` function computes name from `pname` and `version`. This change removes `name` attribute from all expressions in `pkgs/development/python-modules`. While at it, some other minor changes were made as well, such as replacing `fetchurl` calls with `fetchPypi`.
27 lines
853 B
Nix
27 lines
853 B
Nix
{ 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 ];
|
|
};
|
|
}
|