tdrop: 2018-11-13 -> 2020-05-14
This commit is contained in:
parent
debf9a3f0b
commit
fedff54be3
1 changed files with 17 additions and 7 deletions
|
@ -1,24 +1,34 @@
|
||||||
{ stdenv, lib, fetchFromGitHub, makeWrapper
|
{ stdenv, lib, fetchFromGitHub, makeWrapper
|
||||||
, xwininfo, xdotool, xprop }:
|
, xwininfo, xdotool, xprop, gawk, coreutils
|
||||||
|
, gnugrep, procps }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
pname = "tdrop";
|
pname = "tdrop";
|
||||||
version = "unstable-2018-11-13";
|
version = "unstable-2020-05-14";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "noctuid";
|
owner = "noctuid";
|
||||||
repo = "tdrop";
|
repo = "tdrop";
|
||||||
rev = "198795c0d2573a31979330d6a2ae946eb81deebf";
|
rev = "a9f2862515e5c190ac61d394e7fe7e1039871b89";
|
||||||
sha256 = "1fhibqgmls64mylcb6q46ipmg1q6pvaqm26vz933gqav6cqsbdzs";
|
sha256 = "1zxhihgba33k8byjsracsyhby9qpdngbly6c8hpz3pbsyag5liwc";
|
||||||
};
|
};
|
||||||
|
|
||||||
dontBuild = true;
|
dontBuild = true;
|
||||||
|
|
||||||
installFlags = [ "PREFIX=$(out)" ];
|
installFlags = [ "PREFIX=$(out)" ];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = let
|
||||||
wrapProgram $out/bin/tdrop \
|
binPath = lib.makeBinPath [
|
||||||
--prefix PATH : ${lib.makeBinPath [ xwininfo xdotool xprop ]}
|
xwininfo
|
||||||
|
xdotool
|
||||||
|
xprop
|
||||||
|
gawk
|
||||||
|
coreutils
|
||||||
|
gnugrep
|
||||||
|
procps
|
||||||
|
];
|
||||||
|
in ''
|
||||||
|
wrapProgram $out/bin/tdrop --prefix PATH : ${binPath}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
|
Loading…
Reference in a new issue