1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/os-specific/linux/lsscsi/default.nix

21 lines
386 B
Nix
Raw Normal View History

{ stdenv, fetchurl }:
assert stdenv.isLinux;
stdenv.mkDerivation {
2016-05-15 12:19:07 +01:00
name = "lsscsi-0.28";
src = fetchurl {
2016-05-15 12:19:07 +01:00
url = "http://sg.danny.cz/scsi/lsscsi-0.28.tgz";
sha256 = "0l6xz8545lnfd9f4z974ar1pbzfdkr6c8r56zjrcaazl3ad00p82";
};
preConfigure = ''
substituteInPlace Makefile.in --replace /usr "$out"
'';
meta = {
platforms = stdenv.lib.platforms.linux;
};
}