2e0589b4ca
Upstream changes to the build system required adjusting many packages' dependencies. On the Nixpkgs side, we no longer propagate the dependency on cmake (to reduce closure size), so downstream dependencies had to be adjusted for most packages that depend on kdelibs.
27 lines
702 B
Nix
27 lines
702 B
Nix
{ stdenv, fetchurl, kdelibs
|
|
, automoc4, cmake, perl, pkgconfig
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "ksshaskpass-0.5.3";
|
|
|
|
src = fetchurl {
|
|
url = http://kde-apps.org/CONTENT/content-files/50971-ksshaskpass-0.5.3.tar.gz;
|
|
sha256 = "0911i8jr0nzqah8xidb8wba55a2skaidj3klv3cw6bm5fjx7x953";
|
|
};
|
|
|
|
nativeBuildInputs = [ automoc4 cmake perl pkgconfig ];
|
|
|
|
buildInputs = [ kdelibs ];
|
|
|
|
patchPhase = ''
|
|
sed -i 's@/usr/bin/@@' src/ksshaskpass.desktop
|
|
'';
|
|
|
|
meta = {
|
|
homepage = http://kde-apps.org/content/show.php?content=50971;
|
|
description = "A KDE 4 version of ssh-askpass with KWallet support";
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
|
inherit (kdelibs.meta) platforms;
|
|
};
|
|
}
|