2011-02-22 20:57:17 +00:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
assert stdenv.isLinux;
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2016-05-15 11:19:07 +00:00
|
|
|
name = "lsscsi-0.28";
|
2011-02-22 20:57:17 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2016-05-15 11:19:07 +00:00
|
|
|
url = "http://sg.danny.cz/scsi/lsscsi-0.28.tgz";
|
|
|
|
sha256 = "0l6xz8545lnfd9f4z974ar1pbzfdkr6c8r56zjrcaazl3ad00p82";
|
2011-02-22 20:57:17 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
substituteInPlace Makefile.in --replace /usr "$out"
|
|
|
|
'';
|
2016-08-02 16:06:29 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
2011-02-22 20:57:17 +00:00
|
|
|
}
|