diff options
author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2018-05-10 14:02:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-10 14:02:43 +0100 |
commit | 3e8a0c067ae8e11e0a9fb0745add6c9be2c06788 (patch) | |
tree | a7d042951bf4139c687870ee221847b09f10fff8 /pkgs/development | |
parent | d21ec84b051337c4ae0613f7eefd0e584573b670 (diff) | |
parent | 2f9fd6ff591ff6d1ef43492b4524ee5894c20c4c (diff) | |
download | nixpkgs-3e8a0c067ae8e11e0a9fb0745add6c9be2c06788.tar nixpkgs-3e8a0c067ae8e11e0a9fb0745add6c9be2c06788.tar.gz nixpkgs-3e8a0c067ae8e11e0a9fb0745add6c9be2c06788.tar.bz2 nixpkgs-3e8a0c067ae8e11e0a9fb0745add6c9be2c06788.tar.lz nixpkgs-3e8a0c067ae8e11e0a9fb0745add6c9be2c06788.tar.xz nixpkgs-3e8a0c067ae8e11e0a9fb0745add6c9be2c06788.tar.zst nixpkgs-3e8a0c067ae8e11e0a9fb0745add6c9be2c06788.zip |
Merge pull request #40153 from davidak/plank
plank: init at 0.11.4
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/libraries/bamf/default.nix | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/pkgs/development/libraries/bamf/default.nix b/pkgs/development/libraries/bamf/default.nix new file mode 100644 index 00000000000..dd926ac2081 --- /dev/null +++ b/pkgs/development/libraries/bamf/default.nix @@ -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 ]; + }; +} |