stupidterm: 2018-09-25 -> 2019-03-26

Update contains clearing of urgency hint and they started shipping
their own .desktop file, so we switched to using that.
This commit is contained in:
Elis Hirwing 2019-03-30 11:00:49 +01:00
parent e5ac41f4d9
commit 686da10633
No known key found for this signature in database
GPG Key ID: D57EFA625C9A925F
2 changed files with 10 additions and 16 deletions

View File

@ -1,7 +1,8 @@
{ stdenv, fetchFromGitHub, pkgconfig, vte, gtk }:
stdenv.mkDerivation rec {
name = "stupidterm-2018-09-25";
pname = "stupidterm";
version = "2019-03-26";
nativeBuildInputs = [ pkgconfig ];
@ -10,17 +11,19 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub {
owner = "esmil";
repo = "stupidterm";
rev = "d1bc020797330df83d427e361d3620e346a4e792";
sha256 = "1yh2vhq3d0qbh0dh2h9yc7s9gkffgkb987vvwz2bdnvlskrjmmdj";
rev = "f824e41c2ca9016db73556c5d2f5a2861e235c8e";
sha256 = "1f73wvqqvj5pr3fvb7jjc4bi1iwgkkknz24k8n69mdb75jnfjipp";
};
makeFlags = "PKGCONFIG=${pkgconfig}/bin/pkg-config binary=stupidterm";
installPhase = ''
mkdir -p $out/bin $out/share/applications $out/share/stupidterm
cp stupidterm $out/bin
substituteAll ${./stupidterm.desktop} $out/share/applications/stupidterm.desktop
substituteAll stupidterm.ini $out/share/stupidterm/stupidterm.ini
install -D stupidterm $out/bin/stupidterm
install -D -m 644 stupidterm.desktop $out/share/applications/stupidterm.desktop
install -D -m 644 stupidterm.ini $out/share/stupidterm/stupidterm.ini
substituteInPlace $out/share/applications/stupidterm.desktop \
--replace "Exec=st" "Exec=$out/bin/stupidterm"
'';
meta = with stdenv.lib; {

View File

@ -1,9 +0,0 @@
[Desktop Entry]
Version=20170315
Name=stupidterm
Comment=VTE based terminal emulator
Exec=stupidterm
Icon=utilities-terminal
Terminal=false
Type=Application
Categories=System;TerminalEmulator;