nixpkgs-suyu/pkgs/development/python-modules/podcastparser/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

26 lines
649 B
Nix

{ lib, buildPythonPackage, fetchFromGitHub, nose }:
buildPythonPackage rec {
pname = "podcastparser";
version = "0.6.2";
src = fetchFromGitHub {
owner = "gpodder";
repo = "podcastparser";
rev = version;
sha256 = "1mhg7192d6s1ll9mx1b63yfj6k4cnv4i95jllbnydyjv9ykkv0k1";
};
propagatedBuildInputs = [ ];
buildInputs = [ nose ];
checkPhase = "nosetests test_*.py";
meta = {
description = "podcastparser is a simple, fast and efficient podcast parser written in Python.";
homepage = http://gpodder.org/podcastparser/;
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ mic92 ];
};
}