efivar: 30 → 34

This commit is contained in:
Jan Tojnar 2017-12-17 09:08:05 +01:00
parent 16fa6f59f7
commit f94a17387c
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4
2 changed files with 6 additions and 12 deletions

View File

@ -5,12 +5,12 @@
, pillow, ninja, gcab, gnutls, python3Packages, wrapGAppsHook
}:
let
version = "1.0.1";
version = "1.0.2";
in stdenv.mkDerivation {
name = "fwupd-${version}";
src = fetchurl {
url = "https://people.freedesktop.org/~hughsient/releases/fwupd-${version}.tar.xz";
sha256 = "1k627rja7df51dkzqvkzgbwrrj4049k6408d01m34n66zwr2fp59";
sha256 = "15hrl6jq2kyvbxgjkv3qafqj2962il27gryakm39kvz2p2l1bacj";
};
nativeBuildInputs = [

View File

@ -2,27 +2,21 @@
stdenv.mkDerivation rec {
name = "efivar-${version}";
version = "30";
version = "34";
src = fetchFromGitHub {
owner = "rhinstaller";
repo = "efivar";
rev = version;
sha256 = "1pghj019qr7qpqd9rxfhsr1hm3s0w1hd5cdndpl07vhys8hy4a8a";
sha256 = "0ycrdaz0ijkm3xb9fnwzhwi0pdj5c6s636wj4i6lbjbrijbzn4x5";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ popt ];
postPatch = ''
substituteInPlace src/Makefile --replace "-static" ""
'';
installFlags = [
makeFlags = [
"prefix=$(out)"
"libdir=$(out)/lib"
"mandir=$(out)/share/man"
"includedir=$(out)/include"
"bindir=$(out)/bin"
];
meta = with stdenv.lib; {