git.iko.soy/typeable/nixpkgs
on master help sign in
packagekit: git -> 1.1.3

Update packagekit to a real release instead of just a random commit.

commitbc49483bab1921e642ba74a3720103bffbbcb028 authorMatthew Bauer <mjbauer95@gmail.com> dateThu 4 Aug 2016, 17:49 (10 years ago) parentfbea275
1 file changed+10−10
pkgs/tools/package-management/packagekit/default.nix+10−10
pkgs/tools/package-management/packagekit/default.nix+10−10
@@ -1,23 +1,23 @@
1−{ stdenv, fetchFromGitHub, intltool, glib, pkgconfig, polkit, python, sqlite, systemd
1+{ stdenv, fetchFromGitHub, lib
2+, intltool, glib, pkgconfig, polkit, python, sqlite, systemd
23, gobjectIntrospection, vala, gtk_doc, autoreconfHook, autoconf-archive
34, nix, boost
45, enableCommandNotFound ? false
56, enableBashCompletion ? false, bashCompletion ? null }:
67
7−with stdenv.lib;
8−
98stdenv.mkDerivation rec {
10− name = "packagekit-2016-06-03";
9+ name = "packagekit-${version}";
10+ version = "1.1.3";
1111
1212 src = fetchFromGitHub {
1313 owner = "hughsie";
1414 repo = "PackageKit";
15− rev = "99fd83bbb26badf43c6a17a9f0c6dc054c7484c8";
16− sha256 = "0y42vl6r1wh57sbjfkn4khjs78q54wshf4p0v4nly9s7hydxpi6a";
15+ rev = "PACKAGEKIT_${lib.replaceStrings ["."] ["_"] version}";
16+ sha256 = "150mpar7bhlvwfpwsr6zrjn3yggvklzr6nlhk0shaxnrfkfxvvb6";
1717 };
1818
1919 buildInputs = [ glib polkit systemd python gobjectIntrospection vala ]
20− ++ optional enableBashCompletion bashCompletion;
20+ ++ lib.optional enableBashCompletion bashCompletion;
2121 propagatedBuildInputs = [ sqlite nix boost ];
2222 nativeBuildInputs = [ intltool pkgconfig autoreconfHook autoconf-archive gtk_doc ];
2323
@@ -38,8 +38,8 @@ stdenv.mkDerivation rec {
3838 "--with-dbus-sys=$(out)/etc/dbus-1/system.d"
3939 "--with-systemdsystemunitdir=$(out)/lib/systemd/system/"
4040 ]
41− ++ optional (!enableBashCompletion) "--disable-bash-completion"
42− ++ optional (!enableCommandNotFound) "--disable-command-not-found";
41+ ++ lib.optional (!enableBashCompletion) "--disable-bash-completion"
42+ ++ lib.optional (!enableCommandNotFound) "--disable-command-not-found";
4343
4444 enableParallelBuilding = true;
4545
@@ -48,7 +48,7 @@ stdenv.mkDerivation rec {
4848 "localstatedir=\${TMPDIR}"
4949 ];
5050
51− meta = {
51+ meta = with lib; {
5252 description = "System to facilitate installing and updating packages";
5353 longDescription = ''
5454 PackageKit is a system designed to make installing and updating software