Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 31 lines 524 B view raw
1{ 2 mkKdeDerivation, 3 lib, 4 fetchurl, 5 pkg-config, 6 polkit, 7 glib, 8}: 9mkKdeDerivation rec { 10 pname = "polkit-qt-1"; 11 version = "0.200.0"; 12 13 src = fetchurl { 14 url = "mirror://kde/stable/polkit-qt-1/polkit-qt-1-${version}.tar.xz"; 15 sha256 = "sha256-XTthHAYtK3apN1C7EMkHv9IdH/CNChXcLPY+J44Wd/s="; 16 }; 17 18 patches = [ ./full-paths.patch ]; 19 20 extraNativeBuildInputs = [ pkg-config ]; 21 extraBuildInputs = [ 22 glib 23 polkit 24 ]; 25 26 meta.license = with lib.licenses; [ 27 bsd3 28 gpl2Plus 29 lgpl2Plus 30 ]; 31}