mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-17 14:19:58 +03:00
bogofilter: 1.2.4 -> 1.2.5
This commit is contained in:
parent
6dfcd5ea1a
commit
507cf99425
@ -1,21 +1,31 @@
|
|||||||
{fetchurl, lib, stdenv, flex, db}:
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchurl
|
||||||
|
, flex
|
||||||
|
, db
|
||||||
|
, makeWrapper
|
||||||
|
, pax
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "bogofilter";
|
pname = "bogofilter";
|
||||||
version = "1.2.4";
|
version = "1.2.5";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/bogofilter/bogofilter-${version}.tar.bz2";
|
url = "mirror://sourceforge/bogofilter/bogofilter-${version}.tar.xz";
|
||||||
sha256 = "1d56n2m9inm8gnzm88aa27xl2a7sp7aff3484vmflpqkinjqf0p1";
|
hash = "sha256-MkihNzv/VSxQCDStvqS2yu4EIkUWrlgfslpMam3uieo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# FIXME: We would need `pax' as a "propagated build input" (for use
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
# by the `bf_tar' script) but we don't have it currently.
|
|
||||||
|
|
||||||
buildInputs = [ flex db ];
|
buildInputs = [ flex db ];
|
||||||
|
|
||||||
doCheck = false; # needs "y" tool
|
doCheck = false; # needs "y" tool
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
wrapProgram "$out/bin/bf_tar" --prefix PATH : "${lib.makeBinPath [ pax ]}"
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "http://bogofilter.sourceforge.net/";
|
homepage = "http://bogofilter.sourceforge.net/";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user