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

17 lines
325 B
Nix
Raw Normal View History

{ stdenv, fetchurl }:
assert stdenv.isLinux;
stdenv.mkDerivation {
2013-12-13 23:16:27 +01:00
name = "lsscsi-0.27";
src = fetchurl {
2013-12-13 23:16:27 +01:00
url = "http://sg.danny.cz/scsi/lsscsi-0.27.tgz";
sha256 = "1d6rl2jwpd6zlqymmp9z4ri5j43d44db2s71j0v0rzs1nbvm90kb";
};
preConfigure = ''
substituteInPlace Makefile.in --replace /usr "$out"
'';
}