2010-04-21 15:47:13 +01:00
|
|
|
{ stdenv, fetchurl, automake, autoconf, subversion, fuse, apr, perl }:
|
|
|
|
|
2010-04-16 16:56:31 +01:00
|
|
|
stdenv.mkDerivation {
|
2010-04-21 15:47:13 +01:00
|
|
|
name = "svnfs-0.4";
|
2010-04-16 16:56:31 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://www.jmadden.eu/wp-content/uploads/svnfs/svnfs-0.4.tgz;
|
|
|
|
sha256 = "1lrzjr0812lrnkkwk60bws9k1hq2iibphm0nhqyv26axdsygkfky";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [automake autoconf subversion fuse apr perl];
|
|
|
|
|
|
|
|
# why is this required?
|
|
|
|
preConfigure=''
|
2015-10-26 10:30:48 +00:00
|
|
|
export LD_LIBRARY_PATH=${subversion.out}/lib
|
2010-04-16 16:56:31 +01:00
|
|
|
'';
|
|
|
|
|
2015-10-26 10:30:48 +00:00
|
|
|
NIX_CFLAGS_COMPILE="-I ${subversion.dev}/include/subversion-1";
|
2010-04-16 16:56:31 +01:00
|
|
|
NIX_LDFLAGS="-lsvn_client-1";
|
|
|
|
|
|
|
|
meta = {
|
2014-08-24 15:21:08 +01:00
|
|
|
description = "FUSE filesystem for accessing Subversion repositories";
|
2010-04-16 16:56:31 +01:00
|
|
|
homepage = http://www.jmadden.eu/index.php/svnfs/;
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2010-04-21 15:47:13 +01:00
|
|
|
maintainers = [stdenv.lib.maintainers.marcweber];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2010-04-16 16:56:31 +01:00
|
|
|
};
|
|
|
|
}
|