about summary refs log tree commit diff
path: root/pkgs/development/libraries/isa-l
diff options
context:
space:
mode:
authorJustin Bedo <cu@cua0.org>2021-10-19 21:04:41 +1100
committerJustin Bedo <cu@cua0.org>2021-10-19 21:05:01 +1100
commitc25a1b7a5afbad87338bc2b800636ae40c0f5f42 (patch)
treef0727520e624f487b3b1244002179b643ba8c90d /pkgs/development/libraries/isa-l
parent77c929982cf56e15652e89ad125ee5af5b391324 (diff)
isa-l: init 2.30.0
Diffstat (limited to 'pkgs/development/libraries/isa-l')
-rw-r--r--pkgs/development/libraries/isa-l/default.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/development/libraries/isa-l/default.nix b/pkgs/development/libraries/isa-l/default.nix
new file mode 100644
index 0000000000000..1440065969b2d
--- /dev/null
+++ b/pkgs/development/libraries/isa-l/default.nix
@@ -0,0 +1,27 @@
+{ lib, stdenv, fetchFromGitHub, autoreconfHook, nasm }:
+
+stdenv.mkDerivation rec {
+  pname = "isa-l";
+  version = "2.30.0";
+
+  src = fetchFromGitHub {
+    owner = "intel";
+    repo = "isa-l";
+    rev = "v${version}";
+    sha256 = "sha256-AAuSdDQfDW4QFRu0jHwCZ+ZCSjoVqlQiSW1OOFye1Rs=";
+  };
+
+  nativeBuildInputs = [ nasm autoreconfHook ];
+
+  preConfigure = ''
+    export AS=nasm
+  '';
+
+  meta = with lib; {
+    description = "A collection of optimised low-level functions targeting storage applications";
+    license = licenses.bsd3;
+    homepage = "https://github.com/intel/isa-l";
+    maintainers = with maintainers; [ jbedo ];
+    platforms = platforms.all;
+  };
+}