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

23 lines
499 B
Nix

{ stdenv, buildPythonPackage, fetchPypi
, pygments }:
buildPythonPackage rec {
pname = "alabaster";
version = "0.7.11";
src = fetchPypi {
inherit pname version;
sha256 = "b63b1f4dc77c074d386752ec4a8a7517600f6c0db8cd42980cae17ab7b3275d7";
};
propagatedBuildInputs = [ pygments ];
# No tests included
doCheck = false;
meta = with stdenv.lib; {
homepage = https://github.com/bitprophet/alabaster;
description = "A Sphinx theme";
license = licenses.bsd3;
};
}