Live builds support: initially for git and svn. taglib_live is packaged as an example.

svn path=/nixpkgs/trunk/; revision=25351
This commit is contained in:
Evgeny Egorochkin
2011-01-02 23:23:59 +00:00
parent 8af7cabe21
commit bbedfb4a5e
4 changed files with 37 additions and 9 deletions

View File

@@ -1,13 +1,17 @@
{stdenv, fetchsvn, zlib, cmake}:
{stdenv, fetchsvn, fetchsvnrevision, zlib, cmake
, repository ? "svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib"
, rev ? fetchsvnrevision repository
, src ? fetchsvn {
url = repository;
rev = rev;
}
}:
stdenv.mkDerivation {
name = "taglib-1.7a";
src = fetchsvn {
url = svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib;
rev = 1145554;
};
name = "taglib-live";
inherit src;
cmakeFlags = [ "-DWITH-ASF=ON" "-DWITH-MP4=ON" ];
buildInputs = [ zlib cmake ];