Merge pull request #17514 from matthewbauer/packagekit-1.1.3
packagekit: git -> 1.1.3
This commit is contained in:
commit
a10886dfdc
@ -1,23 +1,23 @@
|
|||||||
{ stdenv, fetchFromGitHub, intltool, glib, pkgconfig, polkit, python, sqlite, systemd
|
{ stdenv, fetchFromGitHub, lib
|
||||||
|
, intltool, glib, pkgconfig, polkit, python, sqlite, systemd
|
||||||
, gobjectIntrospection, vala, gtk_doc, autoreconfHook, autoconf-archive
|
, gobjectIntrospection, vala, gtk_doc, autoreconfHook, autoconf-archive
|
||||||
, nix, boost
|
, nix, boost
|
||||||
, enableCommandNotFound ? false
|
, enableCommandNotFound ? false
|
||||||
, enableBashCompletion ? false, bashCompletion ? null }:
|
, enableBashCompletion ? false, bashCompletion ? null }:
|
||||||
|
|
||||||
with stdenv.lib;
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "packagekit-2016-06-03";
|
name = "packagekit-${version}";
|
||||||
|
version = "1.1.3";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "hughsie";
|
owner = "hughsie";
|
||||||
repo = "PackageKit";
|
repo = "PackageKit";
|
||||||
rev = "99fd83bbb26badf43c6a17a9f0c6dc054c7484c8";
|
rev = "PACKAGEKIT_${lib.replaceStrings ["."] ["_"] version}";
|
||||||
sha256 = "0y42vl6r1wh57sbjfkn4khjs78q54wshf4p0v4nly9s7hydxpi6a";
|
sha256 = "150mpar7bhlvwfpwsr6zrjn3yggvklzr6nlhk0shaxnrfkfxvvb6";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ glib polkit systemd python gobjectIntrospection vala ]
|
buildInputs = [ glib polkit systemd python gobjectIntrospection vala ]
|
||||||
++ optional enableBashCompletion bashCompletion;
|
++ lib.optional enableBashCompletion bashCompletion;
|
||||||
propagatedBuildInputs = [ sqlite nix boost ];
|
propagatedBuildInputs = [ sqlite nix boost ];
|
||||||
nativeBuildInputs = [ intltool pkgconfig autoreconfHook autoconf-archive gtk_doc ];
|
nativeBuildInputs = [ intltool pkgconfig autoreconfHook autoconf-archive gtk_doc ];
|
||||||
|
|
||||||
@ -38,8 +38,8 @@ stdenv.mkDerivation rec {
|
|||||||
"--with-dbus-sys=$(out)/etc/dbus-1/system.d"
|
"--with-dbus-sys=$(out)/etc/dbus-1/system.d"
|
||||||
"--with-systemdsystemunitdir=$(out)/lib/systemd/system/"
|
"--with-systemdsystemunitdir=$(out)/lib/systemd/system/"
|
||||||
]
|
]
|
||||||
++ optional (!enableBashCompletion) "--disable-bash-completion"
|
++ lib.optional (!enableBashCompletion) "--disable-bash-completion"
|
||||||
++ optional (!enableCommandNotFound) "--disable-command-not-found";
|
++ lib.optional (!enableCommandNotFound) "--disable-command-not-found";
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
@ -48,7 +48,7 @@ stdenv.mkDerivation rec {
|
|||||||
"localstatedir=\${TMPDIR}"
|
"localstatedir=\${TMPDIR}"
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = {
|
meta = with lib; {
|
||||||
description = "System to facilitate installing and updating packages";
|
description = "System to facilitate installing and updating packages";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
PackageKit is a system designed to make installing and updating software
|
PackageKit is a system designed to make installing and updating software
|
||||||
|
Loading…
x
Reference in New Issue
Block a user