lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 23.11-beta 56 lines 1.5 kB view raw
1{ stdenv, lib, fetchFromGitHub, git, gperf, pcre, unbound, libev, tokyocabinet, pkg-config, bash, libsrs2 }: 2 3let 4 version = "0.9"; 5 6 pfixtoolsSrc = fetchFromGitHub { 7 owner = "Fruneau"; 8 repo = "pfixtools"; 9 rev = "pfixtools-${version}"; 10 sha256 = "1vmbrw686f41n6xfjphfshn96vl07ynvnsyjdw9yfn9bfnldcjcq"; 11 }; 12 13 srcRoot = pfixtoolsSrc.name; 14 15 libCommonSrc = fetchFromGitHub { 16 owner = "Fruneau"; 17 repo = "libcommon"; 18 rev = "b07e6bdea3d24748e0d39783d7d817096d10cc67"; 19 sha256 = "14fxldp29j4vmfmhfgwwi37pj8cz0flm1aykkxlbgakz92d4pm35"; 20 }; 21 22in 23 24stdenv.mkDerivation { 25 pname = "pfixtools"; 26 inherit version; 27 28 src = pfixtoolsSrc; 29 30 patches = [ ./0001-Fix-build-with-unbound-1.6.1.patch ]; 31 32 nativeBuildInputs = [ pkg-config ]; 33 buildInputs = [git gperf pcre unbound libev tokyocabinet bash libsrs2]; 34 35 postUnpack = '' 36 cp -Rp ${libCommonSrc}/* ${srcRoot}/common; 37 chmod -R +w ${srcRoot}/common; 38 ''; 39 40 postPatch = '' 41 substituteInPlace postlicyd/policy_tokens.sh \ 42 --replace /bin/bash ${bash}/bin/bash; 43 ''; 44 45 env.NIX_CFLAGS_COMPILE = "-Wno-error=unused-result -Wno-error=nonnull-compare -Wno-error=format-truncation"; 46 47 makeFlags = [ "DESTDIR=$(out)" "prefix=" ]; 48 49 meta = { 50 description = "A collection of postfix-related tools"; 51 license = with lib.licenses; [ bsd3 ]; 52 homepage = "https://github.com/Fruneau/pfixtools"; 53 platforms = lib.platforms.linux; 54 maintainers = with lib.maintainers; [ jerith666 ]; 55 }; 56}