nixpkgs/pkgs/os-specific/linux/lsscsi/default.nix

21 lines
420 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "lsscsi";
version = "0.32";
src = fetchurl {
url = "http://sg.danny.cz/scsi/lsscsi-${version}.tgz";
2021-05-15 05:16:22 +00:00
sha256 = "sha256-CoAOnpTcoqtwLWXXJ3eujK4Hjj100Ly+1kughJ6AKaE=";
};
preConfigure = ''
substituteInPlace Makefile.in --replace /usr "$out"
'';
meta = with lib; {
2018-08-17 20:26:20 +00:00
license = licenses.gpl2;
platforms = platforms.linux;
};
}