uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
26
pkgs/servers/mail/pypolicyd-spf/default.nix
Normal file
26
pkgs/servers/mail/pypolicyd-spf/default.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{ lib, buildPythonApplication, fetchurl, pyspf }:
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "pypolicyd-spf";
|
||||
majorVersion = "2.0";
|
||||
version = "${majorVersion}.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://launchpad.net/pypolicyd-spf/${majorVersion}/${version}/+download/${pname}-${version}.tar.gz";
|
||||
sha256 = "1nm8y1jjgx6mxrbcxrbdnmkf8vglwp0wiw6jipzh641wb24gi76z";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pyspf ];
|
||||
|
||||
preBuild = ''
|
||||
substituteInPlace setup.py --replace "'/etc'" "'$out/etc'"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://launchpad.net/pypolicyd-spf/";
|
||||
description = "Postfix policy engine for Sender Policy Framework (SPF) checking";
|
||||
maintainers = with maintainers; [ abbradar ];
|
||||
license = licenses.asl20;
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue