about summary refs log tree commit diff
path: root/pkgs/development/libraries/libchardet
diff options
context:
space:
mode:
authorFranz Pletz <fpletz@fnordicwalking.de>2017-06-20 05:45:10 +0200
committerFranz Pletz <fpletz@fnordicwalking.de>2017-06-20 05:45:10 +0200
commit45035b74df48c6f0a72dd750fa7d1ebcbabcc3b8 (patch)
tree5deeeab6cd635f9c4a2806799a88471ba0281042 /pkgs/development/libraries/libchardet
parent63eb0e9c37270e7d4ca32d46033a7ec39e65ace3 (diff)
libchardet: 1.0.4 -> 1.0.5
Diffstat (limited to 'pkgs/development/libraries/libchardet')
-rw-r--r--pkgs/development/libraries/libchardet/default.nix15
1 files changed, 9 insertions, 6 deletions
diff --git a/pkgs/development/libraries/libchardet/default.nix b/pkgs/development/libraries/libchardet/default.nix
index b12b642668b90..410c83953aa94 100644
--- a/pkgs/development/libraries/libchardet/default.nix
+++ b/pkgs/development/libraries/libchardet/default.nix
@@ -1,11 +1,14 @@
-{ stdenv, fetchurl, perl }:
+{ stdenv, fetchFromGitHub, perl }:
 
 stdenv.mkDerivation rec {
-  name = "libchardet-1.0.4";
-  
-  src = fetchurl {
-    url = "http://yupmin.net/wp-content/uploads/2014/03/libchardet-1.0.4.tar.bz2";
-    sha256 = "0cvwba4la25qw70ap8jd5r743a9jshqd26nnbh5ph68zj1imlgzl";
+  name = "libchardet-${version}";
+  version = "1.0.5";
+
+  src = fetchFromGitHub {
+    owner = "Joungkyun";
+    repo = "libchardet";
+    rev = version;
+    sha256 = "0c1k5hf3ssh3cm72w2zpy5k73vhy1gyq5s9rqdawqqa4al8syyvn";
   };
 
   nativeBuildInputs = [ perl ];