Move mpvScripts.pitchcontrol into external overlay
This commit is contained in:
parent
2c8a291ae9
commit
1562a38fd1
|
@ -214,11 +214,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1620905093,
|
"lastModified": 1621080310,
|
||||||
"narHash": "sha256-GskjPH+DhTylKOWRDaFVzpH/1s4zKO4MAdL9IOlbR6M=",
|
"narHash": "sha256-7BMbhiVbR2qVLpBaGMGxNj9/ejoxRm3nMqtTTiXyQcw=",
|
||||||
"ref": "master",
|
"ref": "master",
|
||||||
"rev": "09fbbfd0f98ba82e1dc9fd0d21ab898b901ea5e8",
|
"rev": "37c399d830bd6f2f789cabfae7cd21a824e976c0",
|
||||||
"revCount": 6,
|
"revCount": 8,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://git.sbruder.de/simon/nixpkgs-overlay"
|
"url": "https://git.sbruder.de/simon/nixpkgs-overlay"
|
||||||
},
|
},
|
||||||
|
|
|
@ -29,10 +29,6 @@ in
|
||||||
];
|
];
|
||||||
});
|
});
|
||||||
|
|
||||||
mpvScripts = (prev.mpvScripts or { }) // {
|
|
||||||
pitchcontrol = callPackage ./mpv-scripts/pitchcontrol { };
|
|
||||||
};
|
|
||||||
|
|
||||||
# TODO: Remove patch once mako > 1.4.1 is released and in nixpkgs
|
# TODO: Remove patch once mako > 1.4.1 is released and in nixpkgs
|
||||||
mako = prev.mako.overrideAttrs (o: o // {
|
mako = prev.mako.overrideAttrs (o: o // {
|
||||||
patches = [
|
patches = [
|
||||||
|
|
|
@ -1,31 +0,0 @@
|
||||||
{ 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