Merge pull request #297260 from quantenzitrone/xdg-terminal-exec
xdg-terminal-exec: unstable-2023-12-08 -> 0.9.0
This commit is contained in:
commit
7c38949930
1 changed files with 12 additions and 5 deletions
|
@ -2,16 +2,17 @@
|
|||
lib,
|
||||
stdenvNoCC,
|
||||
fetchFromGitHub,
|
||||
dash,
|
||||
}:
|
||||
stdenvNoCC.mkDerivation {
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "xdg-terminal-exec";
|
||||
version = "unstable-2023-12-08";
|
||||
version = "0.9.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Vladimir-csp";
|
||||
repo = "xdg-terminal-exec";
|
||||
rev = "04f37d4337b6ce157d4a7338dd600a32deb43a28";
|
||||
hash = "sha256-QIPdF+/dMUEVcz5j9o+wQ4dnw2yWwz7slnLdMNETkGs=";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-uLUHvSjxIjmy0ejqLfliB6gHFRwyTWNH1RL5kTXebUM=";
|
||||
};
|
||||
|
||||
dontBuild = true;
|
||||
|
@ -21,6 +22,12 @@ stdenvNoCC.mkDerivation {
|
|||
runHook postInstall
|
||||
'';
|
||||
|
||||
dontPatchShebangs = true;
|
||||
postFixup = ''
|
||||
substituteInPlace $out/bin/xdg-terminal-exec \
|
||||
--replace-fail '#!/bin/sh' '#!${lib.getExe dash}'
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Proposal for XDG terminal execution utility";
|
||||
homepage = "https://github.com/Vladimir-csp/xdg-terminal-exec";
|
||||
|
@ -29,4 +36,4 @@ stdenvNoCC.mkDerivation {
|
|||
maintainers = with lib.maintainers; [quantenzitrone];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue