Merge pull request #164267 from linsui/moserial

This commit is contained in:
Sandro 2022-08-23 11:32:36 +02:00 committed by GitHub
commit 9d48848775
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 58 additions and 0 deletions

View file

@ -0,0 +1,56 @@
{ lib
, stdenv
, fetchFromGitLab
, autoreconfHook
, intltool
, itstool
, pkg-config
, vala
, glib
, graphviz
, yelp-tools
, gtk3
, lrzsz
}:
stdenv.mkDerivation rec {
pname = "moserial";
version = "3.0.21";
src = fetchFromGitLab {
domain = "gitlab.gnome.org";
owner = "GNOME";
repo = pname;
rev = "moserial_${lib.replaceStrings [ "." ] [ "_" ] version}";
sha256 = "sha256-wfdI51ECqVNcUrIVjYBijf/yqpiwSQeMiKaVJSSma3k=";
};
nativeBuildInputs = [
autoreconfHook
intltool
itstool
pkg-config
vala
];
buildInputs = [
glib
graphviz
yelp-tools
gtk3
];
preFixup = ''
gappsWrapperArgs+=(
--prefix PATH : ${lib.makeBinPath [ lrzsz ]}
)
'';
meta = with lib; {
description = "Clean, friendly gtk-based serial terminal for the gnome desktop";
homepage = "https://wiki.gnome.org/moserial";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ linsui ];
platforms = platforms.linux;
};
}

View file

@ -20371,6 +20371,8 @@ with pkgs;
movit = callPackage ../development/libraries/movit { };
moserial = callPackage ../tools/misc/moserial { };
mosquitto = callPackage ../servers/mqtt/mosquitto { };
mps = callPackage ../development/libraries/mps { stdenv = gcc10StdenvCompat; };