{ description = "Open source ARC implementation"; inputs.nixpkgs.url = "github:NixOS/nixpkgs-channels?rev=c59ea8b8a0e7f927e7291c14ea6cd1bd3a16ff38"; inputs.openarc.url = "github:trusteddomainproject/OpenARC?rev=355ee2a1ca85acccce494478991983b54f794f4e"; inputs.openarc.flake = false; outputs = { self, openarc, nixpkgs }: { packages.x86_64-linux.openarc = with nixpkgs.legacyPackages.x86_64-linux; stdenv.mkDerivation rec { pname = "openarc"; version = "355ee2a-master"; name = "${pname}-${version}"; src = openarc; buildInputs = [ automake autoconf libbsd libtool openssl pkg-config libmilter ]; configureFlags = [ "--with-milter=${libmilter}" ]; preConfigure = '' autoreconf --force --install sed -i -e "s@/usr/bin/file@${file}/bin/file@" ./configure ''; meta = with stdenv.lib; { description = "Open source ARC implementation"; homepage = "https://github.com/trusteddomainproject/OpenARC"; platforms = platforms.unix; }; }; defaultPackage.x86_64-linux = self.packages.x86_64-linux.openarc; }; }