git.iko.soy/typeable/nixpkgs
on master help sign in
bootchart: use fetchFromGitHub instead of fetchurl
commit1952a19c61dc0d36c796ca1a151b73cff6a47e43 authorschneefux <schneefux+commit@schneefux.xyz> dateMon 8 Oct 2018, 13:43 (8 years ago) parent027ee44
1 file changed+6−4
pkgs/tools/system/bootchart/default.nix+6−4
pkgs/tools/system/bootchart/default.nix+6−4
@@ -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 ];