From c25a1b7a5afbad87338bc2b800636ae40c0f5f42 Mon Sep 17 00:00:00 2001 From: Justin Bedo Date: Tue, 19 Oct 2021 21:04:41 +1100 Subject: [PATCH] isa-l: init 2.30.0 --- pkgs/development/libraries/isa-l/default.nix | 27 ++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 29 insertions(+) create mode 100644 pkgs/development/libraries/isa-l/default.nix diff --git a/pkgs/development/libraries/isa-l/default.nix b/pkgs/development/libraries/isa-l/default.nix new file mode 100644 index 000000000000..1440065969b2 --- /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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 9752efd364ae..17363478dddb 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -15549,6 +15549,8 @@ with pkgs; hci = callPackage ../development/tools/continuous-integration/hci { }; + isa-l = callPackage ../development/libraries/isa-l { }; + niv = lib.getBin (haskell.lib.justStaticExecutables haskellPackages.niv); ormolu = haskellPackages.ormolu.bin;