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
29
pkgs/tools/security/polkit-gnome/default.nix
Normal file
29
pkgs/tools/security/polkit-gnome/default.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{ lib, stdenv, fetchurl, polkit, gtk3, pkg-config, intltool }:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "polkit-gnome";
|
||||
version = "0.105";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/polkit-gnome/${version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "0sckmcbxyj6sbrnfc5p5lnw27ccghsid6v6wxq09mgxqcd4lk10p";
|
||||
};
|
||||
|
||||
buildInputs = [ polkit gtk3 ];
|
||||
nativeBuildInputs = [ pkg-config intltool ];
|
||||
|
||||
configureFlags = [ "--disable-introspection" ];
|
||||
|
||||
# Desktop file from Debian
|
||||
postInstall = ''
|
||||
mkdir -p $out/etc/xdg/autostart
|
||||
substituteAll ${./polkit-gnome-authentication-agent-1.desktop} $out/etc/xdg/autostart/polkit-gnome-authentication-agent-1.desktop
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "https://gitlab.gnome.org/Archive/policykit-gnome";
|
||||
description = "A dbus session bus service that is used to bring up authentication dialogs";
|
||||
license = lib.licenses.lgpl2Plus;
|
||||
maintainers = with lib.maintainers; [ ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue