diff options
author | schneefux <schneefux+commit@schneefux.xyz> | 2018-10-08 13:43:13 +0200 |
---|---|---|
committer | schneefux <schneefux+commit@schneefux.xyz> | 2018-10-08 13:43:13 +0200 |
commit | 1952a19c61dc0d36c796ca1a151b73cff6a47e43 (patch) | |
tree | 3f7a818150ff5764da8bd4099fb148aa0eb4cde4 /pkgs/tools/system/bootchart | |
parent | 027ee440b5b0d48ecadd089fde4d36427f378460 (diff) |
bootchart: use fetchFromGitHub instead of fetchurl
Diffstat (limited to 'pkgs/tools/system/bootchart')
-rw-r--r-- | pkgs/tools/system/bootchart/default.nix | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/pkgs/tools/system/bootchart/default.nix b/pkgs/tools/system/bootchart/default.nix index 9cba7df21b7d..37217bba2e95 100644 --- a/pkgs/tools/system/bootchart/default.nix +++ b/pkgs/tools/system/bootchart/default.nix @@ -1,12 +1,14 @@ -{stdenv, fetchurl, pkgconfig, glib, gtk2, python2Packages }: +{stdenv, fetchFromGitHub, pkgconfig, glib, gtk2, python2Packages }: stdenv.mkDerivation rec { version = "0.14.7"; name = "bootchart-${version}"; - src = fetchurl { - url = "https://github.com/mmeeks/bootchart/archive/${version}.tar.gz"; - sha256 = "1abn4amsyys6vwn7csxsxny94n24ycca3xhqxqcmdc4j0dzn3kmb"; + src = fetchFromGitHub { + owner = "mmeeks"; + repo = "bootchart"; + rev = version; + sha256 = "178p7z5npx2ksqx477454n1l5560ncbpjh65j9dr001wmwzqzh5q"; }; nativeBuildInputs = [ pkgconfig ]; |