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

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

  src = fetchurl {
    url = "http://sg.danny.cz/scsi/lsscsi-0.32.tgz";
    sha256 = "sha256-CoAOnpTcoqtwLWXXJ3eujK4Hjj100Ly+1kughJ6AKaE=";
  };

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

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