uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
39
pkgs/tools/filesystems/fuse-7z-ng/default.nix
Normal file
39
pkgs/tools/filesystems/fuse-7z-ng/default.nix
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
{ lib, stdenv, fetchFromGitHub, fuse, p7zip, autoconf, automake, pkg-config, makeWrapper }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "fuse-7z-ng";
|
||||
version = "unstable-2014-06-08";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kedazo";
|
||||
repo = pname;
|
||||
rev = "eb5efb1f304c2b7bc2e0389ba06c9bf2ac4b932c";
|
||||
sha256 = "17v1gcmg5q661b047zxjar735i4d3508dimw1x3z1pk4d1zjhp3x";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config makeWrapper autoconf automake ];
|
||||
buildInputs = [ fuse ];
|
||||
|
||||
preConfigure = "./autogen.sh";
|
||||
|
||||
libs = lib.makeLibraryPath [ p7zip ]; # 'cause 7z.so is loaded manually
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/${pname} --suffix LD_LIBRARY_PATH : "${libs}/p7zip"
|
||||
|
||||
mkdir -p $out/share/doc/${pname}
|
||||
cp TODO README NEWS COPYING ChangeLog AUTHORS $out/share/doc/${pname}/
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
inherit (src.homepage);
|
||||
description = "A FUSE-based filesystem that uses the p7zip library";
|
||||
longDescription = ''
|
||||
fuse-7z-ng is a FUSE file system that uses the p7zip
|
||||
library to access all archive formats supported by 7-zip.
|
||||
|
||||
This project is a fork of fuse-7z ( https://gitorious.org/fuse-7z/fuse-7z ).
|
||||
'';
|
||||
platforms = platforms.linux;
|
||||
license = licenses.gpl3Plus;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue