Merge pull request #65862 from jonringer/bump-libgpiod

libgpiod: unstable-2018-10-07 -> 1.4
This commit is contained in:
worldofpeace 2019-08-03 15:36:28 -04:00 committed by GitHub
commit e1f14ce823
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 8 deletions

View File

@ -1,13 +1,12 @@
{ stdenv, fetchgit, autoreconfHook, autoconf-archive, pkgconfig, kmod, enable-tools ? true }: { stdenv, fetchurl, autoreconfHook, autoconf-archive, pkgconfig, kmod, enable-tools ? true }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "libgpiod-unstable-${version}"; pname = "libgpiod";
version = "2018-10-07"; version = "1.4";
src = fetchgit { src = fetchurl {
url = "https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git"; url = "https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/snapshot/libgpiod-${version}.tar.gz";
rev = "4bf402d3a49336eacd33654441d575bd267780b8"; sha256 = "17qc2qbrnmaimxx9i3l30831hy890hp9s5a48iapni1dlr1z27p2";
sha256 = "01f3jzb133z189sxdiz9qiy65p0bjqhynfllidbpxdr0cxkyyc1d";
}; };
buildInputs = [ kmod ]; buildInputs = [ kmod ];
@ -20,7 +19,7 @@ stdenv.mkDerivation rec {
configureFlags = [ configureFlags = [
"--enable-tools=${if enable-tools then "yes" else "no"}" "--enable-tools=${if enable-tools then "yes" else "no"}"
"--enable-bindings-cxx" "--enable-bindings-cxx"
"--prefix=$(out)" "--prefix=${placeholder ''out''}"
]; ];
meta = with stdenv.lib; { meta = with stdenv.lib; {