rmw: 0.9.1 -> 0.9.4, canfigger: init at 0.3.0 (#319544)

This commit is contained in:
tomberek
2025-12-31 23:32:47 -05:00
committed by GitHub
2 changed files with 43 additions and 7 deletions
+39
View File
@@ -0,0 +1,39 @@
{
lib,
stdenv,
fetchFromGitHub,
meson,
ninja,
}:
stdenv.mkDerivation rec {
pname = "canfigger";
version = "0.3.0";
src = fetchFromGitHub {
owner = "andy5995";
repo = "canfigger";
rev = "v${version}";
hash = "sha256-S2rEQT8wKSjJ7LFF6vcigqb9r5QR/nNUCzNdhuBNjTo=";
};
nativeBuildInputs = [
meson
ninja
];
# canfigger has asan and ubsan enabled by default, disable it here
mesonFlags = [
"-Dcanfigger:b_sanitize=none"
];
meta = {
description = "Lightweight library designed to parse configuration files";
homepage = "https://github.com/andy5995/canfigger";
changelog = "https://github.com/andy5995/canfigger/blob/${src.rev}/ChangeLog.txt";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ iynaix ];
mainProgram = "canfigger";
platforms = lib.platforms.all;
};
}
+4 -7
View File
@@ -5,19 +5,20 @@
meson,
ninja,
pkg-config,
canfigger,
ncurses,
gettext,
}:
stdenv.mkDerivation rec {
pname = "rmw";
version = "0.9.1";
version = "0.9.4";
src = fetchFromGitHub {
owner = "theimpossibleastronaut";
repo = "rmw";
tag = "v${version}";
hash = "sha256-rfJdJHSkusZj/PN74KgV5i36YC0YRZmIfRdvkUNoKEM=";
hash = "sha256-/bE9fFjn3mPfUbtsB6bXfQAxUtbtuZiT4pevi5RCQA4=";
fetchSubmodules = true;
};
@@ -28,15 +29,11 @@ stdenv.mkDerivation rec {
];
buildInputs = [
canfigger
ncurses
]
++ lib.optional stdenv.hostPlatform.isDarwin gettext;
# The subproject "canfigger" has asan and ubsan enabled by default, disable it here
mesonFlags = [
"-Dcanfigger:b_sanitize=none"
];
meta = {
description = "Trashcan/ recycle bin utility for the command line";
homepage = "https://github.com/theimpossibleastronaut/rmw";