mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
parent
90147b3808
commit
797898a455
@ -11,7 +11,6 @@
|
||||
, vala
|
||||
, gtk-doc
|
||||
, nix
|
||||
, nlohmann_json ? null
|
||||
, boost
|
||||
, meson
|
||||
, ninja
|
||||
@ -27,12 +26,6 @@
|
||||
, enableSystemd ? stdenv.isLinux
|
||||
, systemd
|
||||
}:
|
||||
let
|
||||
nix_version = lib.removeSuffix nix.VERSION_SUFFIX nix.version;
|
||||
useNlohmann = lib.versionAtLeast "2.7" nix_version;
|
||||
in
|
||||
|
||||
assert useNlohmann -> nlohmann_json != null;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "packagekit";
|
||||
@ -43,8 +36,8 @@ stdenv.mkDerivation rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "PackageKit";
|
||||
repo = "PackageKit";
|
||||
rev = "33b847c49b4a42499e3c0f10fef62830c874e086";
|
||||
sha256 = "UDpMswf0EBwcoHTqoWiztXnIAwM69nM+S9MPsR24amw=";
|
||||
rev = "30bb82da8d4161330a6d7a20c9989149303421a1";
|
||||
sha256 = "k2osc2v0OuGrNjwxdqn785RsbHEJP3p79PG9YqnVE3U=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
@ -59,7 +52,6 @@ stdenv.mkDerivation rec {
|
||||
nix
|
||||
boost
|
||||
] ++ lib.optional enableSystemd systemd
|
||||
++ lib.optional useNlohmann nlohmann_json
|
||||
++ lib.optional enableBashCompletion bash-completion;
|
||||
nativeBuildInputs = [
|
||||
vala
|
||||
|
@ -9028,7 +9028,7 @@ with pkgs;
|
||||
|
||||
p7zip = callPackage ../tools/archivers/p7zip { };
|
||||
|
||||
packagekit = callPackage ../tools/package-management/packagekit { nix = nixVersions.nix_2_6; };
|
||||
packagekit = callPackage ../tools/package-management/packagekit { nix = nixVersions.nix_2_8; };
|
||||
|
||||
packetdrill = callPackage ../tools/networking/packetdrill { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user