mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
a6c6878f5b
svn path=/nixpkgs/trunk/; revision=31201
28 lines
661 B
Nix
28 lines
661 B
Nix
{ stdenv, fetchurl, qt4, cmake }:
|
|
|
|
let
|
|
baseName = "libdbusmenu-qt";
|
|
v = "0.9.0";
|
|
in
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "${baseName}-${v}";
|
|
|
|
src = fetchurl {
|
|
url = "http://launchpad.net/${baseName}/trunk/${v}/+download/${name}.tar.bz2";
|
|
sha256 = "0xdicb3fmwgbyhc6cpcmdkwysdg18m5rcqc3izpwv6brq4aq4787";
|
|
};
|
|
|
|
buildInputs = [ qt4 ];
|
|
buildNativeInputs = [ cmake ];
|
|
|
|
cmakeFlags = "-DWITH_DOC=OFF";
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Provides a Qt implementation of the DBusMenu spec";
|
|
homepage = http://people.canonical.com/~agateau/dbusmenu/;
|
|
maintainers = [ maintainers.urkud ];
|
|
inherit (qt4.meta) platforms;
|
|
};
|
|
}
|