1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-18 19:26:02 +00:00
nixpkgs/pkgs/os-specific/linux/lsscsi/default.nix
Marco Maggesi a297ef5966 Add lsscsi
svn path=/nixpkgs/trunk/; revision=26063
2011-02-22 20:57:17 +00:00

17 lines
325 B
Nix

{ stdenv, fetchurl }:
assert stdenv.isLinux;
stdenv.mkDerivation {
name = "lsscsi-0.24";
src = fetchurl {
url = "http://sg.danny.cz/scsi/lsscsi-0.24.tgz";
sha256 = "0c718w80vi9a0w48q8xmlnbyqzxfd8lax5dcbqg8gvg4l2zaba2c";
};
preConfigure = ''
substituteInPlace Makefile.in --replace /usr "$out"
'';
}