3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/os-specific/linux/lsscsi/default.nix

19 lines
362 B
Nix
Raw Normal View History

{ stdenv, fetchurl }:
stdenv.mkDerivation {
name = "lsscsi-0.29";
src = fetchurl {
url = "http://sg.danny.cz/scsi/lsscsi-0.29.tgz";
sha256 = "0538fjgxky03yn7mzyslkyi2af3yy5llsnjjcgjx73x08wd6hv5n";
};
preConfigure = ''
substituteInPlace Makefile.in --replace /usr "$out"
'';
meta = {
platforms = stdenv.lib.platforms.linux;
};
}