mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 07:31:20 +00:00
a297ef5966
svn path=/nixpkgs/trunk/; revision=26063
17 lines
325 B
Nix
17 lines
325 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
assert stdenv.isLinux;
|
|
|
|
stdenv.mkDerivation {
|
|
name = "lsscsi-0.24";
|
|
|
|
src = fetchurl {
|
|
url = "http://sg.danny.cz/scsi/lsscsi-0.24.tgz";
|
|
sha256 = "0c718w80vi9a0w48q8xmlnbyqzxfd8lax5dcbqg8gvg4l2zaba2c";
|
|
};
|
|
|
|
preConfigure = ''
|
|
substituteInPlace Makefile.in --replace /usr "$out"
|
|
'';
|
|
}
|