3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/os-specific/linux/lsscsi/default.nix

20 lines
397 B
Nix
Raw Normal View History

{ stdenv, fetchurl }:
stdenv.mkDerivation {
2020-02-23 21:36:46 +00:00
name = "lsscsi-0.31";
src = fetchurl {
2020-02-23 21:36:46 +00:00
url = "http://sg.danny.cz/scsi/lsscsi-0.31.tgz";
sha256 = "1jpk15y9vqjb1lcj4pdzygpg0jf0lja7azjldpywc0s805rikgqj";
};
preConfigure = ''
substituteInPlace Makefile.in --replace /usr "$out"
'';
2018-08-17 21:26:20 +01:00
meta = with stdenv.lib; {
license = licenses.gpl2;
platforms = platforms.linux;
};
}