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`.
20 lines
476 B
Nix
20 lines
476 B
Nix
{ stdenv, buildPythonPackage, fetchPypi
|
|
, dateutil }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "aniso8601";
|
|
version = "3.0.2";
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Parses ISO 8601 strings.";
|
|
homepage = "https://bitbucket.org/nielsenb/aniso8601";
|
|
license = licenses.bsd3;
|
|
};
|
|
|
|
propagatedBuildInputs = [ dateutil ];
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "7849749cf00ae0680ad2bdfe4419c7a662bef19c03691a19e008c8b9a5267802";
|
|
};
|
|
}
|