2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2011-02-22 20:57:17 +00:00
|
|
|
|
2021-08-27 14:47:49 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "lsscsi";
|
|
|
|
version = "0.32";
|
2011-02-22 20:57:17 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-08-27 14:47:49 +00:00
|
|
|
url = "http://sg.danny.cz/scsi/lsscsi-${version}.tgz";
|
2021-05-15 05:16:22 +00:00
|
|
|
sha256 = "sha256-CoAOnpTcoqtwLWXXJ3eujK4Hjj100Ly+1kughJ6AKaE=";
|
2011-02-22 20:57:17 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
substituteInPlace Makefile.in --replace /usr "$out"
|
|
|
|
'';
|
2016-08-02 16:06:29 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-08-17 20:26:20 +00:00
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
2016-08-02 16:06:29 +00:00
|
|
|
};
|
2011-02-22 20:57:17 +00:00
|
|
|
}
|