mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 09:31:01 +00:00
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.
31 lines
916 B
Nix
31 lines
916 B
Nix
{ stdenv, fetchurl, automoc4, cmake, gettext, perl, pkgconfig
|
|
, apr, aprutil, subversion, db, kdelibs, expat
|
|
}:
|
|
|
|
# the homepage mentions this is the final release.
|
|
# from now on, kdesvn will be part of the official kde software distribution
|
|
stdenv.mkDerivation rec {
|
|
name = "kdesvn-1.6.0";
|
|
|
|
src = fetchurl rec {
|
|
url = "http://pkgs.fedoraproject.org/repo/pkgs/kdesvn/${name}.tar.bz2/${md5}/${name}.tar.bz2";
|
|
md5 = "7e6adc98ff4777a06d5752d3f2b58fa3";
|
|
};
|
|
|
|
prePatch = ''
|
|
sed -i -e "s|/usr|${subversion}|g" src/svnqt/cmakemodules/FindSubversion.cmake
|
|
'';
|
|
|
|
buildInputs = [ apr aprutil subversion db kdelibs expat ];
|
|
|
|
nativeBuildInputs = [ automoc4 cmake gettext perl pkgconfig ];
|
|
|
|
meta = {
|
|
description = "KDE SVN front-end";
|
|
license = "GPL";
|
|
homepage = http://kdesvn.alwins-world.de;
|
|
maintainers = [ stdenv.lib.maintainers.sander ];
|
|
inherit (kdelibs.meta) platforms;
|
|
};
|
|
}
|