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

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

  src = fetchurl {
    url = "http://sg.danny.cz/scsi/lsscsi-0.29.tgz";
    sha256 = "0538fjgxky03yn7mzyslkyi2af3yy5llsnjjcgjx73x08wd6hv5n";
  };

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

  meta = {
    platforms = stdenv.lib.platforms.linux;
  };
}