nixpkgs/pkgs/development/python-modules/pytimeparse/default.nix
Frederik Rietdijk ced21f5e1a pythonPackages: remove name attribute`
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`.
2018-06-23 18:14:26 +02:00

21 lines
582 B
Nix

{ stdenv, fetchPypi, buildPythonPackage, nose }:
buildPythonPackage rec {
pname = "pytimeparse";
version = "1.1.8";
src = fetchPypi {
inherit pname version;
sha256 = "e86136477be924d7e670646a98561957e8ca7308d44841e21f5ddea757556a0a";
};
propagatedBuildInputs = [ nose ];
meta = with stdenv.lib; {
description = "A small Python library to parse various kinds of time expressions";
homepage = "https://github.com/wroberts/pytimeparse";
license = licenses.mit;
maintainers = with maintainers; [ vrthra ];
};
}