about summary refs log tree commit diff
path: root/pkgs/sternenseemann/fetchcvs
diff options
context:
space:
mode:
authorsternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org>2021-02-11 18:51:00 +0100
committersternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org>2021-02-11 18:51:00 +0100
commit00e8575c9c8de4bcf8c78687dbe3cd41681c80d7 (patch)
tree9dfa2c903b300b07cc202de3b4522d18346b78dd /pkgs/sternenseemann/fetchcvs
parent1bfcc943417f12d1a90b34a34e8f3049e5af4185 (diff)
pkgs/sternenseemann: unvendor fetchcvs
nixpkgs-unstable has advanced enough that the fetchcvs fix is now
available via that channel, so our hydra won't choke on this derivation
with the upstream fetchcvs.
Diffstat (limited to 'pkgs/sternenseemann/fetchcvs')
-rw-r--r--pkgs/sternenseemann/fetchcvs/builder.sh27
-rw-r--r--pkgs/sternenseemann/fetchcvs/default.nix20
2 files changed, 0 insertions, 47 deletions
diff --git a/pkgs/sternenseemann/fetchcvs/builder.sh b/pkgs/sternenseemann/fetchcvs/builder.sh
deleted file mode 100644
index fe1019aa..00000000
--- a/pkgs/sternenseemann/fetchcvs/builder.sh
+++ /dev/null
@@ -1,27 +0,0 @@
-source $stdenv/setup
-
-(echo "#!$SHELL"; \
- echo 'ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no "$@"') > ssh
-chmod +x ssh
-export CVS_RSH=$PWD/ssh
-
-# creating the export drictory and checking out there only to be able to
-# move the content without the root directory into $out ...
-# cvs -f -d "$url" export $tag -d "$out" "$module"
-# should work (but didn't - got no response on #cvs)
-# See als man Page for those options
-
-mkdir -p export
-if [ -n "$tag" ]; then
-    tag="-r $tag"
-else
-    if [ -n "$date" ]; then
-        tag="-D $date"
-    else
-        tag="-D NOW"
-    fi
-fi
-(cd export && cvs -f -z0 -d "$cvsRoot" export $tag "$module")
-mv export/* $out
-
-stopNest
diff --git a/pkgs/sternenseemann/fetchcvs/default.nix b/pkgs/sternenseemann/fetchcvs/default.nix
deleted file mode 100644
index 1f7947d4..00000000
--- a/pkgs/sternenseemann/fetchcvs/default.nix
+++ /dev/null
@@ -1,20 +0,0 @@
-# example tags:
-# date="2007-20-10"; (get the last version before given date)
-# tag="<tagname>" (get version by tag name)
-# If you don't specify neither one date="NOW" will be used (get latest)
-
-{stdenvNoCC, cvs, openssh}:
-
-{cvsRoot, module, tag ? null, date ? null, sha256}:
-
-stdenvNoCC.mkDerivation {
-  name = "cvs-export";
-  builder = ./builder.sh;
-  nativeBuildInputs = [cvs openssh];
-
-  outputHashAlgo = "sha256";
-  outputHashMode = "recursive";
-  outputHash = sha256;
-
-  inherit cvsRoot module sha256 tag date;
-}