summary refs log tree commit diff
path: root/pkgs/os-specific/linux/lsscsi/default.nix
blob: aba907039acae88a87e79daa4e63d2db0fe61d59 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{ stdenv, fetchurl }:

stdenv.mkDerivation {
  name = "lsscsi-0.30";

  src = fetchurl {
    url = "http://sg.danny.cz/scsi/lsscsi-0.30.tgz";
    sha256 = "05cba72m0hj3kpikk26h7j02cly7zy5lgww2fvswa0jz823j36k1";
  };

  preConfigure = ''
    substituteInPlace Makefile.in --replace /usr "$out"
  '';

  meta = with stdenv.lib; {
    license = licenses.gpl2;
    platforms = platforms.linux;
  };
}