mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 00:43:20 +00:00
21 lines
424 B
Nix
21 lines
424 B
Nix
{ lib, stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "lsscsi";
|
|
version = "0.32";
|
|
|
|
src = fetchurl {
|
|
url = "http://sg.danny.cz/scsi/lsscsi-${version}.tgz";
|
|
sha256 = "sha256-CoAOnpTcoqtwLWXXJ3eujK4Hjj100Ly+1kughJ6AKaE=";
|
|
};
|
|
|
|
preConfigure = ''
|
|
substituteInPlace Makefile.in --replace /usr "$out"
|
|
'';
|
|
|
|
meta = with lib; {
|
|
license = licenses.gpl2Plus;
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|