Merge pull request #115550 from dotlambda/ytfzf-1.0.1

ytfzf: 1.0.0 -> 1.0.1
This commit is contained in:
Sandro 2021-03-09 17:05:34 +01:00 committed by GitHub
commit 080622de43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,26 +12,21 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "ytfzf"; pname = "ytfzf";
version = "1.0.0"; version = "1.0.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "pystardust"; owner = "pystardust";
repo = "ytfzf"; repo = "ytfzf";
rev = "v${version}"; rev = "v${version}";
sha256 = "09znixn8mpkxipv2x3nrfxr2i8g7y58v25qssqf092j9lh85sf9h"; sha256 = "1i9ya38zcaj1vkfgy1n4gp5vqb59zlrd609pdmz4jqinrb0c5fgv";
}; };
nativeBuildInputs = [ makeWrapper ]; nativeBuildInputs = [ makeWrapper ];
makeFlags = [ "PREFIX=${placeholder "out"}" ]; makeFlags = [ "PREFIX=${placeholder "out"}/bin" ];
dontBuild = true; dontBuild = true;
# remove after next update
preInstall = ''
mkdir -p "$out/bin"
'';
postInstall = '' postInstall = ''
wrapProgram "$out/bin/ytfzf" --prefix PATH : ${lib.makeBinPath [ wrapProgram "$out/bin/ytfzf" --prefix PATH : ${lib.makeBinPath [
curl dmenu fzf jq mpv youtube-dl curl dmenu fzf jq mpv youtube-dl