lvtk: switch to fetchFromGitHub

This commit is contained in:
Felix Buehler 2021-12-27 01:03:50 +01:00
parent cb88231ce7
commit f3669aec91

View file

@ -1,12 +1,14 @@
{ lib, stdenv, fetchurl, boost, gtkmm2, lv2, pkg-config, python2, wafHook }:
{ lib, stdenv, fetchFromGitHub, boost, gtkmm2, lv2, pkg-config, python2, wafHook }:
stdenv.mkDerivation rec {
pname = "lvtk";
version = "1.2.0";
src = fetchurl {
url = "https://github.com/lvtk/lvtk/archive/${version}.tar.gz";
sha256 = "03nbj2cqcklqwh50zj2gwm07crh5iwqbpxbpzwbg5hvgl4k4rnjd";
src = fetchFromGitHub {
owner = "lvtk";
repo = "lvtk";
rev = version;
sha256 = "sha256-6IoyhBig3Nvc4Y8F0w8b1up6sn8O2RmoUVaBQ//+Aaw=";
};
nativeBuildInputs = [ pkg-config python2 wafHook ];