libwacom: build from source instead of release tarball

This commit is contained in:
Leon Schuermann 2018-10-15 08:37:16 +02:00
parent b06987437d
commit d5845200ca
1 changed files with 7 additions and 5 deletions

View File

@ -1,15 +1,17 @@
{ fetchurl, stdenv, glib, pkgconfig, udev, libgudev }: { stdenv, fetchFromGitHub, autoreconfHook, glib, pkgconfig, udev, libgudev }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "libwacom-${version}"; name = "libwacom-${version}";
version = "0.31"; version = "0.31";
src = fetchurl { src = fetchFromGitHub {
url = "https://github.com/linuxwacom/libwacom/releases/download/${name}/${name}.tar.bz2"; owner = "linuxwacom";
sha256 = "00xzkxhm0s9bvhbf27hscjbh17wa8lcgvxjqbmzm527f9cjqrm8q"; repo = "libwacom";
rev = "libwacom-${version}";
sha256 = "0qjd4bn2abwzic34cm0sw3srx02spszbsvfdbzbpn2cb62b5gjmw";
}; };
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ pkgconfig autoreconfHook ];
buildInputs = [ glib udev libgudev ]; buildInputs = [ glib udev libgudev ];
meta = with stdenv.lib; { meta = with stdenv.lib; {