bootchart: use fetchFromGitHub instead of fetchurl
This commit is contained in:
parent
027ee440b5
commit
1952a19c61
@ -1,12 +1,14 @@
|
|||||||
{stdenv, fetchurl, pkgconfig, glib, gtk2, python2Packages }:
|
{stdenv, fetchFromGitHub, pkgconfig, glib, gtk2, python2Packages }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "0.14.7";
|
version = "0.14.7";
|
||||||
name = "bootchart-${version}";
|
name = "bootchart-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "https://github.com/mmeeks/bootchart/archive/${version}.tar.gz";
|
owner = "mmeeks";
|
||||||
sha256 = "1abn4amsyys6vwn7csxsxny94n24ycca3xhqxqcmdc4j0dzn3kmb";
|
repo = "bootchart";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "178p7z5npx2ksqx477454n1l5560ncbpjh65j9dr001wmwzqzh5q";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user