summary refs log tree commit diff
path: root/pkgs/tools/misc
diff options
context:
space:
mode:
authorWilliam A. Kennington III2015-08-17 13:14:51 -0700
committerWilliam A. Kennington III2015-08-17 13:14:59 -0700
commit810a033d1b3cf2ed52cac5490e8ca6e51b96ee6d (patch)
tree09cba946f8a2b059da01e3ddeb7f75ff73e25e89 /pkgs/tools/misc
parent42ea0d3341e00f03743fd80c910bda7d84cb2709 (diff)
picocom: 1.7 -> 1.8
Diffstat (limited to 'pkgs/tools/misc')
-rw-r--r--pkgs/tools/misc/picocom/default.nix13
1 files changed, 8 insertions, 5 deletions
diff --git a/pkgs/tools/misc/picocom/default.nix b/pkgs/tools/misc/picocom/default.nix
index 303fdb3dbe07..3ebb0397a8f3 100644
--- a/pkgs/tools/misc/picocom/default.nix
+++ b/pkgs/tools/misc/picocom/default.nix
@@ -1,11 +1,14 @@
-{ stdenv, fetchurl, makeWrapper, lrzsz }:
+{ stdenv, fetchFromGitHub, makeWrapper, lrzsz }:
 
 stdenv.mkDerivation rec {
-  name = "picocom-1.7";
+  name = "picocom-${version}";
+  version = "1.8";
 
-  src = fetchurl {
-    url = "http://picocom.googlecode.com/files/${name}.tar.gz";
-    sha256 = "17hjq713naq02xar711aw24qqd52p591mj1h5n97cni1ga7irwyh";
+  src = fetchFromGitHub {
+    owner = "npat-efault";
+    repo = "picocom";
+    rev = version;
+    sha256 = "1954hnmnnr9yj5skynj2x5wjap8vlr4ski2rhwr36p5pzwmr9gni";
   };
 
   buildInputs = [ makeWrapper ];