From 353b00f2962b8ad23854e039571b6f053e10bc33 Mon Sep 17 00:00:00 2001 From: Peter Hoeg Date: Thu, 22 Feb 2018 12:28:33 +0800 Subject: [PATCH] packagekit-qt: init at 1.0.1 --- .../package-management/packagekit/qt.nix | 24 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 26 insertions(+) create mode 100644 pkgs/tools/package-management/packagekit/qt.nix diff --git a/pkgs/tools/package-management/packagekit/qt.nix b/pkgs/tools/package-management/packagekit/qt.nix new file mode 100644 index 000000000000..c38ef25f3548 --- /dev/null +++ b/pkgs/tools/package-management/packagekit/qt.nix @@ -0,0 +1,24 @@ +{ stdenv, lib, fetchFromGitHub, cmake, pkgconfig +, qtbase, qttools, packagekit }: + +stdenv.mkDerivation rec { + name = "packagekit-qt-${version}"; + version = "1.0.1"; + + src = fetchFromGitHub { + owner = "hughsie"; + repo = "PackageKit-Qt"; + rev = "v${version}"; + sha256 = "1ls6mn9abpwzw5wjgmslc5h9happj3516y1q67imppczk8g9h2yk"; + }; + + buildInputs = [ packagekit ]; + + nativeBuildInputs = [ cmake pkgconfig qttools ]; + + enableParallelBuilding = true; + + meta = packagekit.meta // { + description = "System to facilitate installing and updating packages - Qt"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 911c13fbe29b..091bc24bc4b2 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4017,6 +4017,8 @@ with pkgs; nix = nixUnstable; }; + packagekit-qt = libsForQt5.callPackage ../tools/package-management/packagekit/qt.nix { }; + packetdrill = callPackage ../tools/networking/packetdrill { }; padthv1 = callPackage ../applications/audio/padthv1 { };