Merge pull request #58572 from etu/update-stupidterm
stupidterm: 2018-09-25 -> 2019-03-26
This commit is contained in:
commit
d55a6f2696
pkgs/applications/misc/stupidterm
@ -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; {
|
||||
|
@ -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;
|
Loading…
Reference in New Issue
Block a user