mpvScripts.pitchcontrol: init at 0.2.0
This commit is contained in:
parent
c58908483f
commit
ed965e408a
11
flake.nix
11
flake.nix
|
@ -28,6 +28,10 @@
|
||||||
|
|
||||||
deemix = callPythonPackage ./deemix { };
|
deemix = callPythonPackage ./deemix { };
|
||||||
|
|
||||||
|
mpvScripts = prev.mpvScripts // {
|
||||||
|
pitchcontrol = callPackage ./mpv-scripts/pitchcontrol { };
|
||||||
|
};
|
||||||
|
|
||||||
textidote = callPackage ./textidote { };
|
textidote = callPackage ./textidote { };
|
||||||
|
|
||||||
unxwb = callPackage ./unxwb { };
|
unxwb = callPackage ./unxwb { };
|
||||||
|
@ -55,14 +59,19 @@
|
||||||
|
|
||||||
packages = lib.filterAttrs
|
packages = lib.filterAttrs
|
||||||
(n: v: lib.elem system v.meta.platforms)
|
(n: v: lib.elem system v.meta.platforms)
|
||||||
{
|
(flake-utils.lib.flattenTree {
|
||||||
inherit (pkgs)
|
inherit (pkgs)
|
||||||
cyanrip
|
cyanrip
|
||||||
deemix
|
deemix
|
||||||
textidote
|
textidote
|
||||||
unxwb
|
unxwb
|
||||||
VisiCut;
|
VisiCut;
|
||||||
|
|
||||||
|
mpvScripts = lib.recurseIntoAttrs {
|
||||||
|
inherit (pkgs.mpvScripts)
|
||||||
|
pitchcontrol;
|
||||||
};
|
};
|
||||||
|
});
|
||||||
|
|
||||||
# My hydra only has x86_64-linux builders
|
# My hydra only has x86_64-linux builders
|
||||||
hydraJobs =
|
hydraJobs =
|
||||||
|
|
31
mpv-scripts/pitchcontrol/default.nix
Normal file
31
mpv-scripts/pitchcontrol/default.nix
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
{ lib, stdenv, fetchFromGitHub }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "pitchcontrol";
|
||||||
|
version = "0.2.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "FichteFoll";
|
||||||
|
repo = "mpv-scripts";
|
||||||
|
rev = "784dbafcd26455dde22175a5668c621defc14cab";
|
||||||
|
sha256 = "057vslm6ybf0b0a5s39m049pcvb204hqf6jx1640ya2r6sm335g8";
|
||||||
|
};
|
||||||
|
|
||||||
|
dontBuild = true;
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
install -D ${passthru.scriptName} $out/share/mpv/scripts/${passthru.scriptName}
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
|
passthru.scriptName = "${pname}.lua";
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "An mpv script to change the pitch of audio with keybindings";
|
||||||
|
homepage = "https://github.com/FichteFoll/mpv-scripts";
|
||||||
|
license = licenses.isc;
|
||||||
|
platforms = platforms.all;
|
||||||
|
maintainers = with maintainers; [ sbruder ];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue