@@ -1,12 +1,14 @@
1−{stdenv, fetchurl, pkgconfig, glib, gtk2, python2Packages }:
1+{stdenv, fetchFromGitHub, pkgconfig, glib, gtk2, python2Packages }:
22
33stdenv.mkDerivation rec {
44 version = "0.14.7";
55 name = "bootchart-${version}";
66
7− src = fetchurl {
8− url = "https://github.com/mmeeks/bootchart/archive/${version}.tar.gz";
9− sha256 = "1abn4amsyys6vwn7csxsxny94n24ycca3xhqxqcmdc4j0dzn3kmb";
7+ src = fetchFromGitHub {
8+ owner = "mmeeks";
9+ repo = "bootchart";
10+ rev = version;
11+ sha256 = "178p7z5npx2ksqx477454n1l5560ncbpjh65j9dr001wmwzqzh5q";
1012 };
1113
1214 nativeBuildInputs = [ pkgconfig ];