summary refs log tree commit diff
path: root/pkgs/applications/version-management/vcsh
diff options
context:
space:
mode:
authorThomas Tuegel <ttuegel@gmail.com>2015-02-25 16:14:36 -0600
committerThomas Tuegel <ttuegel@gmail.com>2015-02-25 16:14:36 -0600
commit4ef3c64d2ed6bb9637350942a1d372091f13c64f (patch)
treee55cf9e4aba1afd5f0427472393568521fdaff1e /pkgs/applications/version-management/vcsh
parent07d0dd3be038745180ccca49964a9ddf343448bf (diff)
vsch: fetch release tarballs, not git revisions
We only update at releases anyway, so it doesn't really make sense to
use fetchgit. Plus, it makes monitor.nixos.org useless because we're
inevitably behind master.
Diffstat (limited to 'pkgs/applications/version-management/vcsh')
-rw-r--r--pkgs/applications/version-management/vcsh/default.nix14
1 files changed, 6 insertions, 8 deletions
diff --git a/pkgs/applications/version-management/vcsh/default.nix b/pkgs/applications/version-management/vcsh/default.nix
index e9a8f48b7aafe..af84966887552 100644
--- a/pkgs/applications/version-management/vcsh/default.nix
+++ b/pkgs/applications/version-management/vcsh/default.nix
@@ -1,14 +1,12 @@
-{stdenv, fetchgit}:
+{stdenv, fetchurl}:
 
 stdenv.mkDerivation rec {
-  rev = "ef15aeeb0553efb698e3d4261e79eff77a136ee7";
-  version = "1.20141026";
-  name = "vcsh-${version}_${builtins.substring 0 7 rev}";
+  version = "1.20141026-1";
+  name = "vcsh-${version}";
 
-  src = fetchgit {
-    inherit rev;
-    url = "https://github.com/RichiH/vcsh";
-    sha256 = "1dg6ina2wpy406s5x0x4r7khx6gc42hfak0gjwy0i53ivkckl1nd";
+  src = fetchurl {
+    url = "https://github.com/RichiH/vcsh/archive/v${version}.tar.gz";
+    sha256 = "1wgrmkygsbmk8zj88kjx9aim2fc44hh2d1a83h4mn2j714pffh33";
   };
 
   phases = [ "unpackPhase" "installPhase" "fixupPhase" ];