forked from mirrors/nixpkgs
Adding afflib
svn path=/nixpkgs/trunk/; revision=28129
This commit is contained in:
parent
9d04057b11
commit
87554657c1
48
pkgs/development/libraries/afflib/default.nix
Normal file
48
pkgs/development/libraries/afflib/default.nix
Normal file
|
@ -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
|
||||
|
|
@ -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 {};
|
||||
|
|
Loading…
Reference in a new issue