vtm: use finalAttrs
pattern
This commit is contained in:
parent
b978927dcd
commit
2eb4a346b5
1 changed files with 11 additions and 9 deletions
|
@ -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;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue