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
36
pkgs/development/libraries/libayatana-indicator/default.nix
Normal file
36
pkgs/development/libraries/libayatana-indicator/default.nix
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
{ stdenv, fetchFromGitHub, lib
|
||||
, pkg-config, autoreconfHook
|
||||
, gtkVersion ? "3"
|
||||
, gtk2
|
||||
, gtk3
|
||||
, ayatana-ido
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libayatana-indicator-gtk${gtkVersion}";
|
||||
version = "0.8.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "AyatanaIndicators";
|
||||
repo = "libayatana-indicator";
|
||||
rev = version;
|
||||
sha256 = "1wlqm3pj12vgz587a72widbg0vcmm1klsd2lh3mpzfy20m3vjxhj";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config autoreconfHook ];
|
||||
|
||||
buildInputs = [ ayatana-ido ]
|
||||
++ lib.optionals (gtkVersion == "2") [ gtk2 ]
|
||||
++ lib.optionals (gtkVersion == "3") [ gtk3 ];
|
||||
|
||||
configureFlags = [ "--with-gtk=${gtkVersion}" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Ayatana Indicators Shared Library";
|
||||
homepage = "https://github.com/AyatanaIndicators/libayatana-indicator";
|
||||
changelog = "https://github.com/AyatanaIndicators/libayatana-indicator/blob/${version}/ChangeLog";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = [ maintainers.nickhu ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue