hover: 0.43.0 -> 0.46.1

This commit is contained in:
Thiago Kenji Okada 2020-12-31 00:08:49 -03:00
parent 70a061bd6c
commit 7002108e07

View File

@ -1,10 +1,10 @@
{ lib
, buildGoModule
, buildFHSUserEnv
, binutils
, dejavu_fonts
, pkgconfig
, pkg-config
, fetchFromGitHub
, stdenv
, roboto
, writeScript
, xorg
@ -18,7 +18,7 @@
let
pname = "hover";
version = "0.43.0";
version = "0.46.1";
libs = with xorg; [
libX11.dev
@ -36,23 +36,23 @@ let
hover = buildGoModule rec {
inherit pname version;
meta = with stdenv.lib; {
meta = with lib; {
description = "A build tool to run Flutter applications on desktop";
homepage = "https://github.com/go-flutter-desktop/hover";
license = licenses.bsd3;
platforms = platforms.linux ++ platforms.darwin;
platforms = platforms.linux;
maintainers = [ maintainers.ericdallo maintainers.thiagokokada];
};
subPackages = [ "." ];
vendorSha256 = "1wr08phjm87dxim47i8449rmq5wfscvjyz65g3lxmv468x209pam";
vendorSha256 = "1ixfmhp5g57hn23zyf85hy9jnyadayhdbalj4d0bx4q4p5c9qchi";
src = fetchFromGitHub {
rev = "v${version}";
owner = "go-flutter-desktop";
repo = pname;
sha256 = "0iw6sxg86wfdbihl2hxzn43ppdzl1p7g5b9wl8ac3xa9ix8759ax";
sha256 = "04f3dx2dcllfrw3ay1sbb72pj18ln7bxi9rrcaahqhsd7bn2ff9k";
};
nativeBuildInputs = [ addOpenGLRunpath makeWrapper ];
@ -75,7 +75,7 @@ let
chmod -R a+rx $out/share/assets
wrapProgram "$out/bin/hover" \
--prefix LD_LIBRARY_PATH : ${stdenv.lib.makeLibraryPath libs}
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath libs}
'';
postFixup = ''
@ -87,12 +87,13 @@ in
buildFHSUserEnv rec {
name = pname;
targetPkgs = pkgs: [
binutils
dejavu_fonts
flutter
gcc
go
hover
pkgconfig
pkg-config
roboto
] ++ libs;