nixpkgs/pkgs/applications/version-management/kdesvn/default.nix

29 lines
851 B
Nix
Raw Normal View History

{ stdenv, fetchurl, gettext, apr, aprutil, subversion, db, kdelibs, expat }:
2013-12-16 13:27:59 +00:00
# the homepage mentions this is the final release.
# from now on, kdesvn will be part of the official kde software distribution
stdenv.mkDerivation rec {
2013-12-16 13:27:59 +00:00
name = "kdesvn-1.6.0";
2013-12-16 13:27:59 +00:00
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 = [ gettext ];
meta = {
description = "KDE SVN front-end";
license = "GPL";
homepage = http://kdesvn.alwins-world.de;
maintainers = [ stdenv.lib.maintainers.sander ];
inherit (kdelibs.meta) platforms;
};
}