diff --git a/pkgs/os-specific/linux/lsscsi/default.nix b/pkgs/os-specific/linux/lsscsi/default.nix new file mode 100644 index 000000000000..886f6c799a43 --- /dev/null +++ b/pkgs/os-specific/linux/lsscsi/default.nix @@ -0,0 +1,16 @@ +{ stdenv, fetchurl }: + +assert stdenv.isLinux; + +stdenv.mkDerivation { + name = "lsscsi-0.24"; + + src = fetchurl { + url = "http://sg.danny.cz/scsi/lsscsi-0.24.tgz"; + sha256 = "0c718w80vi9a0w48q8xmlnbyqzxfd8lax5dcbqg8gvg4l2zaba2c"; + }; + + preConfigure = '' + substituteInPlace Makefile.in --replace /usr "$out" + ''; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 0292338d0763..ac6fcab167e7 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4704,6 +4704,8 @@ let then utillinuxng else null; + lsscsi = callPackage ../os-specific/linux/lsscsi { }; + e3cfsprogs = callPackage ../os-specific/linux/e3cfsprogs { }; eject = callPackage ../os-specific/linux/eject { };