mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 23:23:07 +00:00
20 lines
397 B
Nix
20 lines
397 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "lsscsi-0.31";
|
|
|
|
src = fetchurl {
|
|
url = "http://sg.danny.cz/scsi/lsscsi-0.31.tgz";
|
|
sha256 = "1jpk15y9vqjb1lcj4pdzygpg0jf0lja7azjldpywc0s805rikgqj";
|
|
};
|
|
|
|
preConfigure = ''
|
|
substituteInPlace Makefile.in --replace /usr "$out"
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
license = licenses.gpl2;
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|