forked from mirrors/nixpkgs
Add lsscsi
svn path=/nixpkgs/trunk/; revision=26063
This commit is contained in:
parent
04d74baeb0
commit
a297ef5966
16
pkgs/os-specific/linux/lsscsi/default.nix
Normal file
16
pkgs/os-specific/linux/lsscsi/default.nix
Normal file
|
@ -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"
|
||||
'';
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue