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`.
25 lines
522 B
Nix
25 lines
522 B
Nix
{ lib
|
|
, stdenv
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, moznetwork
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "mozhttpd";
|
|
version = "0.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "10y1cr933ajx9ni701ayb7r361pak9wrzr7pdpyx81kkbjddq7qa";
|
|
};
|
|
|
|
propagatedBuildInputs = [ moznetwork ];
|
|
|
|
meta = {
|
|
description = "Webserver for Mozilla testing";
|
|
homepage = https://wiki.mozilla.org/Auto-tools/Projects/Mozbase;
|
|
license = lib.licenses.mpl20;
|
|
maintainers = with lib.maintainers; [ raskin ];
|
|
};
|
|
}
|