libwacom: build from source instead of release tarball
This commit is contained in:
parent
b06987437d
commit
d5845200ca
|
@ -1,15 +1,17 @@
|
|||
{ fetchurl, stdenv, glib, pkgconfig, udev, libgudev }:
|
||||
{ stdenv, fetchFromGitHub, autoreconfHook, glib, pkgconfig, udev, libgudev }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libwacom-${version}";
|
||||
version = "0.31";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/linuxwacom/libwacom/releases/download/${name}/${name}.tar.bz2";
|
||||
sha256 = "00xzkxhm0s9bvhbf27hscjbh17wa8lcgvxjqbmzm527f9cjqrm8q";
|
||||
src = fetchFromGitHub {
|
||||
owner = "linuxwacom";
|
||||
repo = "libwacom";
|
||||
rev = "libwacom-${version}";
|
||||
sha256 = "0qjd4bn2abwzic34cm0sw3srx02spszbsvfdbzbpn2cb62b5gjmw";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
nativeBuildInputs = [ pkgconfig autoreconfHook ];
|
||||
buildInputs = [ glib udev libgudev ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
|
Loading…
Reference in New Issue