mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 01:51:24 +00:00
4a7f99d55d
Part of: https://github.com/NixOS/nixpkgs/issues/108938 meta = with stdenv.lib; is a widely used pattern. We want to slowly remove the `stdenv.lib` indirection and encourage people to use `lib` directly. Thus let’s start with the meta field. This used a rewriting script to mostly automatically replace all occurances of this pattern, and add the `lib` argument to the package header if it doesn’t exist yet. The script in its current form is available at https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
40 lines
1.2 KiB
Nix
40 lines
1.2 KiB
Nix
{ lib, stdenv, fetchurl, autoconf, automake, intltool, libtool, pkgconfig, encfs
|
|
, glib , gnome3, gtk3, libgnome-keyring, vala, wrapGAppsHook, xorg, gobject-introspection
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "1.8.19";
|
|
pname = "gnome-encfs-manager";
|
|
|
|
src = fetchurl {
|
|
url = "https://launchpad.net/gencfsm/trunk/1.8/+download/gnome-encfs-manager_${version}.tar.xz";
|
|
sha256 = "1h6x8dyp1fvxvr8fwki98ppf4sa20qf7g59jc9797b2vrgm60h1i";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
buildInputs = [ autoconf automake intltool libtool vala glib encfs
|
|
gtk3 libgnome-keyring gnome3.libgee xorg.libSM xorg.libICE
|
|
wrapGAppsHook gobject-introspection ];
|
|
|
|
patches = [ ./makefile-mkdir.patch ];
|
|
|
|
preConfigure = ''
|
|
./autogen.sh
|
|
'';
|
|
|
|
configureFlags = [ "--disable-appindicator" ];
|
|
|
|
preFixup = ''gappsWrapperArgs+=(--prefix PATH : ${encfs}/bin)'';
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with lib; {
|
|
homepage = "http://www.libertyzero.com/GEncfsM/";
|
|
downloadPage = "https://launchpad.net/gencfsm/";
|
|
description = "EncFS manager and mounter with GNOME3 integration";
|
|
license = licenses.gpl2Plus;
|
|
platforms = platforms.linux;
|
|
maintainers = [ maintainers.spacefrogg ];
|
|
};
|
|
}
|