depot/third_party/nixpkgs/pkgs/os-specific/linux/lsscsi/default.nix
Default email 3e2acf8aff Project import generated by Copybara.
GitOrigin-RevId: d42cd445dde587e9a993cd9434cb43da07c4c5de
2021-05-20 18:08:51 -05:00

19 lines
394 B
Nix

{ 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;
};
}