mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
Added codeville - a distributed revision control system with special efforts spent on merging. Heh, efforts into RCS availability seem to have side effects on Python side, too..
svn path=/nixpkgs/trunk/; revision=11891
This commit is contained in:
parent
82177d1bc2
commit
642ff45e22
23
pkgs/applications/version-management/codeville/0.8.0.nix
Normal file
23
pkgs/applications/version-management/codeville/0.8.0.nix
Normal file
@ -0,0 +1,23 @@
|
||||
args : with args;
|
||||
|
||||
if (! python ? db4Support) || (! python.db4Support) then
|
||||
throw ''Python DB4 support is required for codeville.''
|
||||
else
|
||||
|
||||
rec {
|
||||
src = fetchurl {
|
||||
url = http://codeville.org/download/Codeville-0.8.0.tar.gz;
|
||||
sha256 = "1p8zc4ijwcwf5bxl34n8d44mlxk1zhbpca68r93ywxqkqm2aqz37";
|
||||
};
|
||||
|
||||
buildInputs = [python makeWrapper];
|
||||
configureFlags = [];
|
||||
|
||||
/* doConfigure should be specified separately */
|
||||
phaseNames = ["installPythonPackage" (makeManyWrappers ''$out/bin/*'' ''--prefix PYTHONPATH : $(toPythonPath $out)'')];
|
||||
|
||||
name = "codeville-" + version;
|
||||
meta = {
|
||||
description = "Codeville - RCS with powerful merge.";
|
||||
};
|
||||
}
|
@ -1,6 +1,7 @@
|
||||
{stdenv, fetchurl, zlib ? null, zlibSupport ? true, bzip2,
|
||||
gdbmSupport ? true, gdbm ? null
|
||||
, sqlite ? null
|
||||
, db4 ? null
|
||||
}:
|
||||
|
||||
assert zlibSupport -> zlib != null;
|
||||
@ -16,6 +17,7 @@ let
|
||||
++ optional zlibSupport zlib
|
||||
++ optional gdbmSupport gdbm
|
||||
++ optional (sqlite != null) sqlite
|
||||
++ optional (db4 != null) db4
|
||||
;
|
||||
|
||||
in
|
||||
@ -54,6 +56,8 @@ stdenv.mkDerivation {
|
||||
|
||||
passthru = {
|
||||
inherit zlibSupport;
|
||||
sqliteSupport = sqlite != null;
|
||||
db4Support = db4 != null;
|
||||
libPrefix = "python2.5";
|
||||
};
|
||||
}
|
||||
|
@ -1835,7 +1835,10 @@ let pkgs = rec {
|
||||
python25Fun = lib.sumArgs (import ../development/interpreters/python/2.5) {
|
||||
inherit fetchurl stdenv zlib bzip2 gdbm;
|
||||
};
|
||||
python25 = python25Fun null;
|
||||
python25 = python25Fun {
|
||||
db4 = if getConfig ["python" "db4Support"] false then db4 else null;
|
||||
sqlite = if getConfig ["python" "sqlite"] false then sqlite else null;
|
||||
} null;
|
||||
|
||||
pyrex = pyrex095;
|
||||
|
||||
@ -5140,6 +5143,11 @@ let pkgs = rec {
|
||||
inherit fetchurl stdenv emacs texinfo ctags;
|
||||
};
|
||||
|
||||
codeville = builderDefsPackage (selectVersion ../applications/version-management/codeville "0.8.0") {
|
||||
python = python25;
|
||||
inherit makeWrapper;
|
||||
} null;
|
||||
|
||||
cua = import ../applications/editors/emacs-modes/cua {
|
||||
inherit fetchurl stdenv;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user