about summary refs log tree commit diff
path: root/pkgs/tools/misc/rmlint
diff options
context:
space:
mode:
authorWilliButz <wbutz@cyberfnord.de>2017-08-21 18:14:14 +0200
committerRobin Gloster <mail@glob.in>2017-08-21 23:41:00 +0200
commit50736110821fc671fbc322d322419387f23073b1 (patch)
tree532253abf1f9db91ca9eb52948ff2729dc8c8233 /pkgs/tools/misc/rmlint
parentf21a5c2f57131b77ba6174768d8664f3cc80fe75 (diff)
rmlint: 2.4.4 -> 2.6.1
- version bump: 2.4.4 -> 2.6.1
- fetchurl -> fetchFromGitHub
- hompage: http -> https
Diffstat (limited to 'pkgs/tools/misc/rmlint')
-rw-r--r--pkgs/tools/misc/rmlint/default.nix16
1 files changed, 9 insertions, 7 deletions
diff --git a/pkgs/tools/misc/rmlint/default.nix b/pkgs/tools/misc/rmlint/default.nix
index e962bcb0155d7..e321670068cf8 100644
--- a/pkgs/tools/misc/rmlint/default.nix
+++ b/pkgs/tools/misc/rmlint/default.nix
@@ -1,14 +1,16 @@
-{ stdenv, fetchurl
-, gettext, glib, json_glib, libelf, pkgconfig, scons, sphinx, utillinux }:
+{ stdenv, fetchFromGitHub,
+  gettext, glib, json_glib, libelf, pkgconfig, scons, sphinx, utillinux }:
 
 with stdenv.lib;
 stdenv.mkDerivation rec {
   name = "rmlint-${version}";
-  version = "2.4.4";
+  version = "2.6.1";
 
-  src = fetchurl {
-    url = "https://github.com/sahib/rmlint/archive/v${version}.tar.gz";
-    sha256 = "1g38wmf58m9lbdngfsbz3dbkd44yqxppzvgi5mwag0w7r7khhir9";
+  src = fetchFromGitHub {
+    owner = "sahib";
+    repo = "rmlint";
+    rev = "v${version}";
+    sha256 = "1j09qk3zypw4my713q9g36kq37ggqd5v9vrs3h821p6p3qmmkdn8";
   };
 
   configurePhase = "scons config";
@@ -21,7 +23,7 @@ stdenv.mkDerivation rec {
 
   meta = {
     description = "Extremely fast tool to remove duplicates and other lint from your filesystem";
-    homepage = http://rmlint.readthedocs.org;
+    homepage = https://rmlint.readthedocs.org;
     platforms = platforms.linux;
     license = licenses.gpl3;
     maintainers = [ maintainers.koral ];