commit
3e8a0c067a
48
pkgs/applications/misc/plank/default.nix
Normal file
48
pkgs/applications/misc/plank/default.nix
Normal file
@ -0,0 +1,48 @@
|
|||||||
|
{ stdenv, fetchurl, vala, atk, cairo, glib, gnome3, gtk3, libwnck3
|
||||||
|
, libX11, libXfixes, libXi, pango, intltool, pkgconfig, libxml2
|
||||||
|
, bamf, gdk_pixbuf, libdbusmenu-gtk3, file
|
||||||
|
, wrapGAppsHook, autoreconfHook, gobjectIntrospection }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "plank";
|
||||||
|
version = "0.11.4";
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://launchpad.net/${pname}/1.0/${version}/+download/${name}.tar.xz";
|
||||||
|
sha256 = "1f41i45xpqhjxql9nl4a1sz30s0j46aqdhbwbvgrawz6himcvdc8";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
pkgconfig
|
||||||
|
intltool
|
||||||
|
libxml2 # xmllint
|
||||||
|
wrapGAppsHook
|
||||||
|
gobjectIntrospection
|
||||||
|
autoreconfHook
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [ vala atk cairo glib gnome3.gnome-menus
|
||||||
|
gtk3 gnome3.libgee libwnck3 libX11 libXfixes
|
||||||
|
libXi pango gnome3.gnome-common bamf gdk_pixbuf
|
||||||
|
libdbusmenu-gtk3 gnome3.dconf ];
|
||||||
|
|
||||||
|
# fix paths
|
||||||
|
makeFlags = [
|
||||||
|
"INTROSPECTION_GIRDIR=$(out)/share/gir-1.0/"
|
||||||
|
"INTROSPECTION_TYPELIBDIR=$(out)/lib/girepository-1.0"
|
||||||
|
];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace ./configure \
|
||||||
|
--replace "/usr/bin/file" "${file}/bin/file"
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Elegant, simple, clean dock";
|
||||||
|
homepage = https://launchpad.net/plank;
|
||||||
|
license = licenses.gpl3Plus;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
maintainers = with maintainers; [ davidak ];
|
||||||
|
};
|
||||||
|
}
|
49
pkgs/development/libraries/bamf/default.nix
Normal file
49
pkgs/development/libraries/bamf/default.nix
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
{ stdenv, fetchurl, libgtop, libwnck3, glib, vala, pkgconfig
|
||||||
|
, libstartup_notification, gobjectIntrospection, gtk-doc
|
||||||
|
, python27, pythonPackages, libxml2 }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "bamf";
|
||||||
|
version = "0.5.3";
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://launchpad.net/${pname}/0.5/${version}/+download/${name}.tar.gz";
|
||||||
|
sha256 = "051vib8ndp09ph5bfwkgmzda94varzjafwxf6lqx7z1s8rd7n39l";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
pkgconfig
|
||||||
|
gtk-doc
|
||||||
|
gobjectIntrospection
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [ libgtop libwnck3 vala libstartup_notification
|
||||||
|
python27 pythonPackages.libxslt libxml2 glib ];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace data/Makefile.in \
|
||||||
|
--replace '/usr/lib/systemd/user' '@datarootdir@/systemd/user'
|
||||||
|
'';
|
||||||
|
|
||||||
|
# fix paths
|
||||||
|
makeFlags = [
|
||||||
|
"INTROSPECTION_GIRDIR=$(out)/share/gir-1.0/"
|
||||||
|
"INTROSPECTION_TYPELIBDIR=$(out)/lib/girepository-1.0"
|
||||||
|
];
|
||||||
|
|
||||||
|
# ignore deprecation errors
|
||||||
|
NIX_CFLAGS_COMPILE = "-Wno-deprecated-declarations";
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Application matching framework";
|
||||||
|
longDescription = ''
|
||||||
|
Removes the headache of applications matching
|
||||||
|
into a simple DBus daemon and c wrapper library.
|
||||||
|
'';
|
||||||
|
homepage = https://launchpad.net/bamf;
|
||||||
|
license = licenses.lgpl3;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
maintainers = with maintainers; [ davidak ];
|
||||||
|
};
|
||||||
|
}
|
@ -8527,6 +8527,8 @@ with pkgs;
|
|||||||
|
|
||||||
backward-cpp = callPackage ../development/libraries/backward-cpp { };
|
backward-cpp = callPackage ../development/libraries/backward-cpp { };
|
||||||
|
|
||||||
|
bamf = callPackage ../development/libraries/bamf { };
|
||||||
|
|
||||||
bctoolbox = callPackage ../development/libraries/bctoolbox {
|
bctoolbox = callPackage ../development/libraries/bctoolbox {
|
||||||
mbedtls = mbedtls_1_3;
|
mbedtls = mbedtls_1_3;
|
||||||
};
|
};
|
||||||
@ -17097,6 +17099,8 @@ with pkgs;
|
|||||||
|
|
||||||
pijul = callPackage ../applications/version-management/pijul {};
|
pijul = callPackage ../applications/version-management/pijul {};
|
||||||
|
|
||||||
|
plank = callPackage ../applications/misc/plank { };
|
||||||
|
|
||||||
planner = callPackage ../applications/office/planner { };
|
planner = callPackage ../applications/office/planner { };
|
||||||
|
|
||||||
playonlinux = callPackage ../applications/misc/playonlinux {
|
playonlinux = callPackage ../applications/misc/playonlinux {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user