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