various updates

This commit is contained in:
Vivian 2022-10-09 11:58:31 +02:00
parent 56b6195620
commit d1cdaf176d
5 changed files with 39 additions and 63 deletions

View file

@ -1,4 +1,4 @@
{ stdenvNoCC, lib, fetchFromGitHub, xorg, inkscape }:
{ stdenvNoCC, lib, fetchFromGitHub, xcursorgen, inkscape, makeFontsConf }:
stdenvNoCC.mkDerivation {
pname = "catppuccin-cursors";
@ -11,13 +11,16 @@ stdenvNoCC.mkDerivation {
sha256 = "sha256-0wb84q1VtD1myIRxrfQMn9n6w1gFzMA1rHkPqXuXLP0=";
};
nativeBuildInputs = [
xorg.xcursorgen
inkscape
];
nativeBuildInputs = [ xcursorgen inkscape ];
FONTCONFIG_FILE = makeFontsConf { fontDirectories = [ ]; };
buildPhase = ''
HOME="$NIX_BUILD_ROOT" PREFIX="/" DESTDIR=$out make build
'';
installPhase = ''
PREFIX="/" DESTDIR=$out make install
HOME="$NIX_BUILD_ROOT" PREFIX="/" DESTDIR=$out make install
'';
meta = with lib; {
@ -25,5 +28,6 @@ stdenvNoCC.mkDerivation {
homepage = "https://github.com/catppuccin/cursors";
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ nullx76 ];
};
}

View file

@ -1,23 +1,26 @@
{ lib, fetchFromGitHub, buildGoModule }:
buildGoModule rec {
pname = "vmagent";
version = "1.59.0";
version = "1.82.0";
src = fetchFromGitHub {
owner = "VictoriaMetrics";
repo = "VictoriaMetrics";
rev = "v${version}";
sha256 = "1mfdhv20m2xqsg37pdv4vbxdg8iri79grc4g4p9ph0js9yd6nbys";
sha256 = "JIl2WeveDoAHzqJ2cqMxpWeNf4yQC9fIdfECOJywJ2A=";
};
ldflags = [ "-s" "-w" "-X github.com/VictoriaMetrics/VictoriaMetrics/lib/buildinfo.Version=${version}" ];
vendorSha256 = null;
subPackages = [ "app/vmagent" ];
meta = with lib; {
description = "VictoriaMetrics metrics scraper";
homepage = "https://github.com/VictoriaMetrics/VictoriaMetrics/tree/master/app/vmagent";
description = "VictoriaMetrics metrics scraper";
license = licenses.asl20;
platforms = platforms.linux;
maintainers = with maintainers; [ nullx76 ];
};
}