mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 19:45:54 +00:00
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`.
24 lines
538 B
Nix
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;
|
|
};
|
|
}
|
|
|