mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 23:54:01 +00:00
571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
41 lines
1.1 KiB
Nix
41 lines
1.1 KiB
Nix
{ stdenv, fetchFromGitHub, lib
|
|
, pkg-config, cmake
|
|
, gtk-doc
|
|
, gtk3, libayatana-indicator, libdbusmenu-gtk3
|
|
, vala
|
|
, gobject-introspection
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libayatana-appindicator";
|
|
version = "0.5.92";
|
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "AyatanaIndicators";
|
|
repo = "libayatana-appindicator";
|
|
rev = version;
|
|
sha256 = "sha256-NzaWQBb2Ez1ik23wCgW1ZQh1/rY7GcPlLvaSgV7uXrA=";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config cmake gtk-doc vala gobject-introspection ];
|
|
|
|
buildInputs = [ gtk3 ];
|
|
|
|
propagatedBuildInputs = [ libayatana-indicator libdbusmenu-gtk3 ];
|
|
|
|
cmakeFlags = [
|
|
"-DENABLE_BINDINGS_MONO=False"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Ayatana Application Indicators Shared Library";
|
|
homepage = "https://github.com/AyatanaIndicators/libayatana-appindicator";
|
|
changelog = "https://github.com/AyatanaIndicators/libayatana-appindicator/blob/${version}/ChangeLog";
|
|
license = [ licenses.lgpl3Plus licenses.lgpl21Plus ];
|
|
maintainers = [ maintainers.nickhu ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|