diff --git a/pkgs/development/libraries/afflib/default.nix b/pkgs/development/libraries/afflib/default.nix new file mode 100644 index 000000000000..a5fdafe7914f --- /dev/null +++ b/pkgs/development/libraries/afflib/default.nix @@ -0,0 +1,48 @@ +x@{builderDefsPackage + , libewf, zlib, curl, expat, fuse, openssl + , ...}: +builderDefsPackage +(a : +let + helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++ + []; + + buildInputs = map (n: builtins.getAttr n x) + (builtins.attrNames (builtins.removeAttrs x helperArgNames)); + sourceInfo = rec { + baseName="afflib"; + version="3.6.12"; + name="${baseName}-${version}"; + url="http://afflib.org/downloads/${name}.tar.gz"; + hash="1l13nrqjlvad112543qbyvrzai5by43zl96d3miklrhn26q9rs07"; + }; +in +rec { + src = a.fetchurl { + url = sourceInfo.url; + sha256 = sourceInfo.hash; + }; + + inherit (sourceInfo) name version; + inherit buildInputs; + + /* doConfigure should be removed if not needed */ + phaseNames = ["doConfigure" "doMakeInstall"]; + + meta = { + description = "Advanced forensic format library"; + maintainers = with a.lib.maintainers; + [ + raskin + ]; + platforms = with a.lib.platforms; + linux; + license = a.lib.licenses.bsdOriginal; + }; + passthru = { + updateInfo = { + downloadPage = "http://afflib.org/"; + }; + }; +}) x + diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 9797809b9dac..5f04c3925de8 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1612,6 +1612,10 @@ let buildClang = true; }; + clangSVN = llvmSVN.override { + buildClang = true; + }; + clean = callPackage ../development/compilers/clean { }; cmucl_binary = callPackage ../development/compilers/cmucl/binary.nix { }; @@ -2164,6 +2168,7 @@ let }; llvm = callPackage ../development/compilers/llvm { }; + llvmSVN = callPackage ../development/compilers/llvm/svn-head.nix { }; mitscheme = callPackage ../development/compilers/mit-scheme { }; @@ -2268,6 +2273,8 @@ let roadsend = callPackage ../development/compilers/roadsend { }; + rust = pkgsi686Linux.callPackage ../development/compilers/rust {}; + sbcl = builderDefsPackage (import ../development/compilers/sbcl) { inherit makeWrapper clisp; }; @@ -2893,6 +2900,8 @@ let adns = callPackage ../development/libraries/adns { }; + afflib = callPackage ../development/libraries/afflib {}; + agg = callPackage ../development/libraries/agg { }; allegro = callPackage ../development/libraries/allegro {};