Merge pull request #48044 from schneefux/pkg/fetchfromgithub

treewide: Use fetchFromGitHub instead of fetchurl
This commit is contained in:
Renaud
2018-11-14 09:48:22 +01:00
committed by GitHub
11 changed files with 70 additions and 52 deletions
+7 -5
View File
@@ -1,12 +1,14 @@
{stdenv, fetchurl, pkgconfig, glib, gtk2, python2Packages }:
{stdenv, fetchFromGitHub, pkgconfig, glib, gtk2, python2Packages }:
stdenv.mkDerivation rec {
version = "0.14.7";
version = "0.14.8";
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 = "12ja2hp6f49416zfjdx0kjfmlkh9wl9b7wz7gk372kps4gjnypqx";
};
nativeBuildInputs = [ pkgconfig ];