mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 02:03:01 +00:00
dea05e36a1
Fixes build with newer vala. Chose to fetch from ubuntu's git packaging because it is easier for me to maintain. This would be the same version used in Ubuntu's Disco Dongo. Changelog: https://git.launchpad.net/ubuntu/+source/libunity/tree/debian/changelog?id=adae0cbb67ee5eb0913e8cd1887e15e72800251f
63 lines
1.1 KiB
Nix
63 lines
1.1 KiB
Nix
{ stdenv
|
|
, fetchgit
|
|
, pkgconfig
|
|
, glib
|
|
, vala
|
|
, dee
|
|
, gobject-introspection
|
|
, libdbusmenu
|
|
, gtk3
|
|
, intltool
|
|
, python3
|
|
, autoreconfHook
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libunity";
|
|
version = "unstable-2019-03-19";
|
|
|
|
outputs = [ "out" "dev" "py" ];
|
|
|
|
src = fetchgit {
|
|
url = "https://git.launchpad.net/ubuntu/+source/libunity";
|
|
rev = "import/7.1.4+19.04.20190319-0ubuntu1";
|
|
sha256 = "15b49v88v74q20a5c0lq867qnlz7fx20xifl6j8ha359r0zkfwzj";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
autoreconfHook
|
|
gobject-introspection
|
|
intltool
|
|
pkgconfig
|
|
python3
|
|
vala
|
|
];
|
|
|
|
buildInputs = [
|
|
glib
|
|
gtk3
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
dee
|
|
libdbusmenu
|
|
];
|
|
|
|
preConfigure = ''
|
|
intltoolize
|
|
'';
|
|
|
|
configureFlags = [
|
|
"--disable-static"
|
|
"--with-pygi-overrides-dir=${placeholder ''py''}/${python3.sitePackages}/gi/overrides"
|
|
];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A library for instrumenting and integrating with all aspects of the Unity shell";
|
|
homepage = https://launchpad.net/libunity;
|
|
license = licenses.lgpl3;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ worldofpeace ];
|
|
};
|
|
}
|