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