summary refs log tree commit diff
path: root/pkgs/os-specific/linux/radeontop/default.nix
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com>2015-02-06 00:05:48 +0100
committerTobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com>2015-02-06 02:00:34 +0100
commit88b0c58ad04096533563a4893e6c74f6fd1bdfce (patch)
treea411e5435c2bc5d8282d983fb6497899508d5d5f /pkgs/os-specific/linux/radeontop/default.nix
parent0711bd03e641af2dacfb249aaa341aeb492ef129 (diff)
downloadnixpkgs-88b0c58ad04096533563a4893e6c74f6fd1bdfce.tar
nixpkgs-88b0c58ad04096533563a4893e6c74f6fd1bdfce.tar.gz
nixpkgs-88b0c58ad04096533563a4893e6c74f6fd1bdfce.tar.bz2
nixpkgs-88b0c58ad04096533563a4893e6c74f6fd1bdfce.tar.lz
nixpkgs-88b0c58ad04096533563a4893e6c74f6fd1bdfce.tar.xz
nixpkgs-88b0c58ad04096533563a4893e6c74f6fd1bdfce.tar.zst
nixpkgs-88b0c58ad04096533563a4893e6c74f6fd1bdfce.zip
radeontop: use fetchFromGitHub
Diffstat (limited to 'pkgs/os-specific/linux/radeontop/default.nix')
-rw-r--r--pkgs/os-specific/linux/radeontop/default.nix13
1 files changed, 7 insertions, 6 deletions
diff --git a/pkgs/os-specific/linux/radeontop/default.nix b/pkgs/os-specific/linux/radeontop/default.nix
index 921021833c1..065a550215a 100644
--- a/pkgs/os-specific/linux/radeontop/default.nix
+++ b/pkgs/os-specific/linux/radeontop/default.nix
@@ -1,13 +1,14 @@
-{ stdenv, fetchgit, pkgconfig, gettext, ncurses, libdrm, libpciaccess }:
+{ stdenv, fetchFromGitHub, pkgconfig, gettext, ncurses, libdrm, libpciaccess }:
 
-stdenv.mkDerivation rec {
+let version = "v0.8-8-g575a416"; in
+stdenv.mkDerivation {
   name = "radeontop-${version}";
-  version = "v0.8-8-g575a416";
 
-  src = fetchgit {
-    url = git://github.com/clbr/radeontop.git;
+  src = fetchFromGitHub {
+    sha256 = "1pnss3765256m475dscv1mqrs10ab9lh56hpyxc5iyfq0qck4fym";
     rev = "575a416596dbedb25bc6f3f0b16a0e2296fbb9bb";
-    sha256 = "6100a7159384cfcd71e59ef7096450e975d01786ee4e3a7cf9c0e56045c4ac91";
+    repo = "radeontop";
+    owner = "clbr";
   };
 
   buildInputs = [ pkgconfig gettext ncurses libdrm libpciaccess ];