packagekit: init at 1.0.7

Don't worry, this does absolutely nothing on Nix and only serves to
satisfy simple-scan's zany new dep.
This commit is contained in:
Tobias Geerinckx-Rice 2015-08-19 21:47:35 +02:00
parent d06eb2951b
commit 46df28d371
2 changed files with 75 additions and 0 deletions

View file

@ -0,0 +1,73 @@
{ stdenv, fetchurl, intltool, glib, pkgconfig, polkit, python3, sqlite }:
let version = "1.0.7"; in
stdenv.mkDerivation {
name = "packagekit-${version}";
src = fetchurl {
sha256 = "0klwr0y3a72xpz6bwv4afbk3vvx5r1av5idhz3mx4p9ssnscb1mi";
url = "https://www.freedesktop.org/software/PackageKit/releases/PackageKit-${version}.tar.xz";
};
buildInputs = [ glib polkit python3 ];
propagatedBuildInputs = [ sqlite ];
nativeBuildInputs = [ intltool pkgconfig ];
configureFlags = ''
--disable-static
--disable-python3
--disable-networkmanager
--disable-connman
--disable-systemd
--disable-bash-completion
--disable-browser-plugin
--disable-gstreamer-plugin
--disable-gtk-module
--disable-command-not-found
--disable-cron
--disable-daemon-tests
--disable-alpm
--disable-aptcc
--enable-dummy
--disable-entropy
--disable-hif
--disable-pisi
--disable-poldek
--disable-portage
--disable-ports
--disable-katja
--disable-urmpi
--disable-yum
--disable-zypp
'';
enableParallelBuilding = true;
preInstall = ''
# Don't install anything to e.g. $out/var/cache:
for dir in src data; do
substituteInPlace $dir/Makefile \
--replace " install-data-hook" "" \
--replace " install-databaseDATA" ""
done
'';
meta = with stdenv.lib; {
inherit version;
description = "System to facilitate installing and updating packages";
longDescription = ''
PackageKit is a system designed to make installing and updating software
on your computer easier. The primary design goal is to unify all the
software graphical tools used in different distributions, and use some of
the latest technology like PolicyKit. The actual nuts-and-bolts distro
tool (dnf, apt, etc) is used by PackageKit using compiled and scripted
helpers. PackageKit isn't meant to replace these tools, instead providing
a common set of abstractions that can be used by standard GUI and text
mode package managers.
'';
homepage = http://www.packagekit.org/;
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ nckx ];
};
}

View file

@ -2561,6 +2561,8 @@ let
p7zip = callPackage ../tools/archivers/p7zip { }; p7zip = callPackage ../tools/archivers/p7zip { };
packagekit = callPackage ../tools/package-management/packagekit { };
pal = callPackage ../tools/misc/pal { }; pal = callPackage ../tools/misc/pal { };
pandoc = haskell.lib.overrideCabal haskellPackages.pandoc (drv: { pandoc = haskell.lib.overrideCabal haskellPackages.pandoc (drv: {