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`.
20 lines
492 B
Nix
20 lines
492 B
Nix
{ lib, buildPythonPackage, fetchPypi, pydns }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyspf";
|
|
version = "2.0.12";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "18j1rmbmhih7q6y12grcj169q7sx1986qn4gmpla9y5gwfh1p8la";
|
|
};
|
|
|
|
propagatedBuildInputs = [ pydns ];
|
|
|
|
meta = with lib; {
|
|
homepage = http://bmsi.com/python/milter.html;
|
|
description = "Python API for Sendmail Milters (SPF)";
|
|
maintainers = with maintainers; [ abbradar ];
|
|
license = licenses.gpl2;
|
|
};
|
|
}
|