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

25 lines
701 B
Nix

{ stdenv, buildPythonPackage, fetchPypi, fetchurl, dateutil, lxml }:
buildPythonPackage rec {
pname = "feedgen";
version = "0.7.0";
src = fetchPypi {
inherit pname version;
sha256 = "82c9e29884e137c3e3e7959a02f142d1f7a46cd387d572e9e40150112a27604f";
};
propagatedBuildInputs = [ dateutil lxml ];
# No tests in archive
doCheck = false;
meta = with stdenv.lib; {
description = "Python module to generate ATOM feeds, RSS feeds and Podcasts.";
downloadPage = https://github.com/lkiesow/python-feedgen/releases;
homepage = https://github.com/lkiesow/python-feedgen;
license = with licenses; [ bsd2 lgpl3 ];
maintainers = with maintainers; [ casey ];
};
}