vtm: use finalAttrs pattern

This commit is contained in:
Pol Dellaiera 2023-12-11 22:44:42 +01:00
parent b978927dcd
commit 2eb4a346b5
No known key found for this signature in database
GPG key ID: D476DFE9C67467CA

View file

@ -4,27 +4,29 @@
, cmake
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "vtm";
version = "0.9.27";
src = fetchFromGitHub {
owner = "netxs-group";
repo = "vtm";
rev = "v${version}";
sha256 = "sha256-BiXKwFZDi0boE1kCqbIn6uFjQ/oliyNbqmamyAwnqdM=";
rev = "v${finalAttrs.version}";
hash = "sha256-BiXKwFZDi0boE1kCqbIn6uFjQ/oliyNbqmamyAwnqdM=";
};
nativeBuildInputs = [ cmake ];
nativeBuildInputs = [
cmake
];
cmakeFlags = [ "../src" ];
meta = with lib; {
meta = {
description = "Terminal multiplexer with window manager and session sharing";
homepage = "https://vtm.netxs.online/";
license = licenses.mit;
platforms = platforms.all;
maintainers = with maintainers; [ ahuzik ];
license = lib.licenses.mit;
mainProgram = "vtm";
maintainers = with lib.maintainers; [ ahuzik ];
platforms = lib.platforms.all;
};
}
})