1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 11:40:45 +00:00

Merge pull request #279253 from risicle/ris-packagekit-1.2.8

packagekit: 1.2.5.1pre -> 1.2.8
This commit is contained in:
Thomas Gerbet 2024-01-30 23:37:46 +01:00 committed by GitHub
commit 898c3061fe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 10 additions and 5 deletions

View file

@ -13,7 +13,7 @@ let
(iniFmt.generate "PackageKit.conf" (recursiveUpdate
{
Daemon = {
DefaultBackend = "nix";
DefaultBackend = "test_nop";
KeepCache = false;
};
}
@ -35,7 +35,7 @@ let
in
{
imports = [
(mkRemovedOptionModule [ "services" "packagekit" "backend" ] "Always set to Nix.")
(mkRemovedOptionModule [ "services" "packagekit" "backend" ] "Always set to test_nop, Nix backend is broken see #177946.")
];
options.services.packagekit = {

View file

@ -24,19 +24,20 @@
, bash-completion ? null
, enableSystemd ? lib.meta.availableOn stdenv.hostPlatform systemd
, systemd
, nixosTests
}:
stdenv.mkDerivation rec {
pname = "packagekit";
version = "1.2.5.1pre";
version = "1.2.8";
outputs = [ "out" "dev" "devdoc" ];
src = fetchFromGitHub {
owner = "PackageKit";
repo = "PackageKit";
rev = "30bb82da8d4161330a6d7a20c9989149303421a1";
sha256 = "k2osc2v0OuGrNjwxdqn785RsbHEJP3p79PG9YqnVE3U=";
rev = "v${version}";
hash = "sha256-k51uQHar/uvdTDj/Ud60Oh6H7rfjEc9bfQnH5cvg8hc=";
};
buildInputs = [
@ -92,6 +93,10 @@ stdenv.mkDerivation rec {
--replace "install_dir: join_paths(get_option('localstatedir'), 'lib', 'PackageKit')," "install_dir: join_paths('$out', 'var', 'lib', 'PackageKit'),"
'';
passthru.tests = {
nixos-test = nixosTests.packagekit;
};
meta = with lib; {
description = "System to facilitate installing and updating packages";
longDescription = ''