nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 85 lines 1.5 kB view raw
1{ lib 2, stdenv 3, fetchFromGitHub 4, vala 5, atk 6, cairo 7, dconf 8, glib 9, gtk3 10, libwnck 11, libX11 12, libXfixes 13, libXi 14, pango 15, pkg-config 16, libxml2 17, bamf 18, gdk-pixbuf 19, libdbusmenu-gtk3 20, gnome-menus 21, libgee 22, wrapGAppsHook 23, meson 24, ninja 25, granite 26}: 27 28stdenv.mkDerivation rec { 29 pname = "elementary-dock"; 30 version = "unstable-2021-05-07"; 31 32 outputs = [ "out" "dev" ]; 33 34 src = fetchFromGitHub { 35 owner = "elementary"; 36 repo = "dock"; 37 rev = "113c3b0bc7744501d2101dd7afc1ef21ba66b326"; 38 sha256 = "sha256-YlvdB02/hUGaDyHIHy21bgloHyVy3vHcanyNKnp3YbM="; 39 }; 40 41 nativeBuildInputs = [ 42 meson 43 ninja 44 libxml2 # xmllint 45 pkg-config 46 vala 47 wrapGAppsHook 48 ]; 49 50 buildInputs = [ 51 atk 52 bamf 53 cairo 54 gdk-pixbuf 55 glib 56 gnome-menus 57 dconf 58 granite 59 gtk3 60 libX11 61 libXfixes 62 libXi 63 libdbusmenu-gtk3 64 libgee 65 libwnck 66 pango 67 ]; 68 69 postInstall = '' 70 # elementary/dock/master is missing a Meson post 71 # install script that does this. This has been 72 # resolved after the dock rewrite (the `main` branch). 73 # https://github.com/elementary/default-settings/issues/267 74 glib-compile-schemas $out/share/glib-2.0/schemas 75 ''; 76 77 meta = with lib; { 78 description = "Elegant, simple, clean dock"; 79 homepage = "https://github.com/elementary/dock"; 80 license = licenses.gpl3Plus; 81 platforms = platforms.linux; 82 maintainers = with maintainers; [ davidak ] ++ teams.pantheon.members; 83 mainProgram = "plank"; 84 }; 85}