forked from mirrors/nixpkgs
viewmtn: remove, source is offline and pkg dead
This commit is contained in:
parent
f295fef411
commit
9d7e2baf3b
|
@ -1,44 +0,0 @@
|
|||
args @ { monotone, cheetahTemplate, highlight, ctags, makeWrapper, graphviz, which, python, ... }: with args;
|
||||
rec {
|
||||
src = fetchurl {
|
||||
url = http://viewmtn.1erlei.de/downloads/viewmtn-0.10.tgz;
|
||||
sha256 = "1c6y708xaf6pds1r6l00q7vpgfagfbnf95kqj168vw3xr3l8a4yx";
|
||||
};
|
||||
|
||||
buildInputs = [python flup highlight monotone
|
||||
cheetahTemplate makeWrapper graphviz which];
|
||||
configureFlags = [];
|
||||
makeFlags = ["PREFIX=$out"];
|
||||
|
||||
/* doConfigure should be specified separately */
|
||||
phaseNames = ["doInstall"
|
||||
(doPatchShebangs "$out/bin")
|
||||
(makeManyWrappers "$out/bin/*"
|
||||
(pythonWrapperArguments + preservePathWrapperArguments))
|
||||
];
|
||||
|
||||
doInstall = fullDepEntry (''
|
||||
for i in dot mtn highlight; do
|
||||
sed -e "s@/usr/bin/$i@$(which $i)@" -i config.py.example
|
||||
done
|
||||
sed -e "s@'templates/'@'$out/share/viewmtn/templates/'@" -i config.py.example
|
||||
|
||||
fullOut=$(toPythonPath $out)
|
||||
|
||||
mkdir -p $fullOut
|
||||
mkdir -p $out/bin
|
||||
mkdir -p $out/share/viewmtn
|
||||
|
||||
cp -r * $fullOut
|
||||
cp $fullOut/viewmtn.py $out/bin
|
||||
|
||||
ln -s $fullOut/{AUTHORS,ChangeLog,INSTALL,LICENSE,README,TODO,config.py.example} $out/share/viewmtn
|
||||
ln -s $fullOut/templates $out/share/viewmtn/
|
||||
ln -s $fullOut/static $out/share/viewmtn/
|
||||
'') ["minInit" "defEnsureDir" "addInputs" "doUnpack"];
|
||||
|
||||
name = "viewmtn-0.10";
|
||||
meta = {
|
||||
description = "Monotone web interface";
|
||||
};
|
||||
}
|
|
@ -13564,11 +13564,6 @@ let
|
|||
|
||||
vdpauinfo = callPackage ../tools/X11/vdpauinfo { };
|
||||
|
||||
viewMtn = builderDefsPackage (callPackage ../applications/version-management/viewmtn/0.10.nix)
|
||||
{
|
||||
flup = pythonPackages.flup;
|
||||
};
|
||||
|
||||
vim = callPackage ../applications/editors/vim {
|
||||
inherit (darwin.apple_sdk.frameworks) Carbon Cocoa;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue