1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-02 10:31:36 +00:00
nixpkgs/pkgs/os-specific/linux/lsscsi/default.nix
Tuomas Tynkkynen 2258b21e4b treewide: Add lots of platforms to packages with no meta
Build-tested on x86_64 Linux and on Darwin.
2016-08-02 21:17:44 +03:00

21 lines
386 B
Nix

{ stdenv, fetchurl }:
assert stdenv.isLinux;
stdenv.mkDerivation {
name = "lsscsi-0.28";
src = fetchurl {
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;
};
}