about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2018-06-25 16:05:54 +0200
committerlassulus <lassulus@lassul.us>2018-06-26 07:41:10 +0200
commit7b4cf6b8e72863d564c0094363aeb137e974f76b (patch)
treeee6fb1b4f3f57eaf889360b8dce8a768adc229ee /pkgs
parent6e146c370013a177eb4e446c20cfe6895cb4d4d5 (diff)
downloadnixlib-7b4cf6b8e72863d564c0094363aeb137e974f76b.tar
nixlib-7b4cf6b8e72863d564c0094363aeb137e974f76b.tar.gz
nixlib-7b4cf6b8e72863d564c0094363aeb137e974f76b.tar.bz2
nixlib-7b4cf6b8e72863d564c0094363aeb137e974f76b.tar.lz
nixlib-7b4cf6b8e72863d564c0094363aeb137e974f76b.tar.xz
nixlib-7b4cf6b8e72863d564c0094363aeb137e974f76b.tar.zst
nixlib-7b4cf6b8e72863d564c0094363aeb137e974f76b.zip
lief: init at 0.9.0
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/libraries/lief/default.nix14
-rw-r--r--pkgs/top-level/all-packages.nix2
2 files changed, 16 insertions, 0 deletions
diff --git a/pkgs/development/libraries/lief/default.nix b/pkgs/development/libraries/lief/default.nix
new file mode 100644
index 000000000000..410c60bff9f3
--- /dev/null
+++ b/pkgs/development/libraries/lief/default.nix
@@ -0,0 +1,14 @@
+{ stdenv, fetchzip }:
+
+fetchzip {
+  url = https://github.com/lief-project/LIEF/releases/download/0.9.0/LIEF-0.9.0-Linux.tar.gz;
+  sha256 = "1c47hwd00bp4mqd4p5b6xjfl89c3wwk9ccyc3a2gk658250g2la6";
+
+  meta = with stdenv.lib; {
+    description = "Library to Instrument Executable Formats";
+    homepage = https://lief.quarkslab.com/;
+    license = [ licenses.asl20 ];
+    platforms = platforms.linux;
+    maintainers = [ maintainers.lassulus ];
+  };
+}
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 0bc2589c7538..78a9a8dde5ab 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -1353,6 +1353,8 @@ with pkgs;
 
   languagetool = callPackage ../tools/text/languagetool {  };
 
+  lief = callPackage ../development/libraries/lief {};
+
   loadwatch = callPackage ../tools/system/loadwatch { };
 
   loccount = callPackage ../development/tools/misc/loccount { };