3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/pyspf/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

21 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;
};
}