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
43
pkgs/applications/misc/pcmanfm/default.nix
Normal file
43
pkgs/applications/misc/pcmanfm/default.nix
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, glib
|
||||
, intltool
|
||||
, libfm
|
||||
, libX11
|
||||
, pango
|
||||
, pkg-config
|
||||
, wrapGAppsHook
|
||||
, gnome
|
||||
, withGtk3 ? true
|
||||
, gtk2
|
||||
, gtk3
|
||||
}:
|
||||
|
||||
let
|
||||
libfm' = libfm.override { inherit withGtk3; };
|
||||
gtk = if withGtk3 then gtk3 else gtk2;
|
||||
inherit (lib) optional;
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "pcmanfm";
|
||||
version = "1.3.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/pcmanfm/pcmanfm-${version}.tar.xz";
|
||||
sha256 = "sha256-FMt7JHSTxMzmX7tZAmEeOtAKeocPvB5QrcUEKMUUDPc=";
|
||||
};
|
||||
|
||||
buildInputs = [ glib gtk libfm' libX11 pango gnome.adwaita-icon-theme ];
|
||||
nativeBuildInputs = [ pkg-config wrapGAppsHook intltool ];
|
||||
|
||||
configureFlags = optional withGtk3 "--with-gtk=3";
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://blog.lxde.org/category/pcmanfm/";
|
||||
license = licenses.gpl2Plus;
|
||||
description = "File manager with GTK interface";
|
||||
maintainers = [ maintainers.ttuegel ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue