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

24 lines
538 B
Nix

{ lib, fetchPypi, buildPythonPackage, docutils, six, sphinx, isPy3k }:
buildPythonPackage rec {
version = "4.9.1";
pname = "breathe";
src = fetchPypi {
inherit pname version;
sha256 = "76e1f3706efeda2610d9a8e7b421d2877ff0654a3fe6d3190a8686536111a684";
};
propagatedBuildInputs = [ docutils six sphinx ];
doCheck = !isPy3k;
meta = {
homepage = https://github.com/michaeljones/breathe;
license = lib.licenses.bsd3;
description = "Sphinx Doxygen renderer";
inherit (sphinx.meta) platforms;
};
}