mpv: Switch to nixpkgs fetchers
This commit is contained in:
parent
2a9815bb0a
commit
5659b834d4
|
@ -1,9 +1,10 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
let
|
let
|
||||||
mpv-prescalers = builtins.fetchGit {
|
mpv-prescalers = pkgs.fetchFromGitHub {
|
||||||
url = "https://github.com/bjin/mpv-prescalers";
|
owner = "bjin";
|
||||||
ref = "master";
|
repo = "mpv-prescalers";
|
||||||
rev = "b37d0f12223720f5ce48e149678162ae0a984176";
|
rev = "b37d0f12223720f5ce48e149678162ae0a984176";
|
||||||
|
sha256 = "1mmf5827qsyph0wqkyvi7zfng1cskkapngn5hf9073zc61n4398y";
|
||||||
};
|
};
|
||||||
|
|
||||||
shaders = {
|
shaders = {
|
||||||
|
@ -27,10 +28,11 @@ let
|
||||||
name = "pitchcontrol.lua";
|
name = "pitchcontrol.lua";
|
||||||
scriptName = name;
|
scriptName = name;
|
||||||
|
|
||||||
src = builtins.fetchGit {
|
src = pkgs.fetchFromGitHub {
|
||||||
url = "https://github.com/FichteFoll/mpv-scripts";
|
owner = "FichteFoll";
|
||||||
ref = "master";
|
repo = "mpv-scripts";
|
||||||
rev = "28ce548e82460b1ca40d3d0149faffff97c874a0";
|
rev = "28ce548e82460b1ca40d3d0149faffff97c874a0";
|
||||||
|
sha256 = "159bbkk0jj25msqyg0wq5w152g6rvm325nzg0b68qzsszz73bw5p";
|
||||||
};
|
};
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
@ -39,10 +41,11 @@ let
|
||||||
'';
|
'';
|
||||||
});
|
});
|
||||||
|
|
||||||
gallery-view = builtins.fetchGit {
|
gallery-view = pkgs.fetchFromGitHub {
|
||||||
url = "https://github.com/occivink/mpv-gallery-view";
|
owner = "occivink";
|
||||||
ref = "master";
|
repo = "mpv-gallery-view";
|
||||||
rev = "5139d346de67e8dbee8c8983777026502d6bc627";
|
rev = "5139d346de67e8dbee8c8983777026502d6bc627";
|
||||||
|
sha256 = "1xcl31rpb6kp479kil4srkclw9ly565zavr65ary9s8795ygfcrs";
|
||||||
};
|
};
|
||||||
|
|
||||||
cycleShaders = shaders: "cycle-values glsl-shaders ${builtins.concatStringsSep " " shaders}";
|
cycleShaders = shaders: "cycle-values glsl-shaders ${builtins.concatStringsSep " " shaders}";
|
||||||
|
|
Loading…
Reference in a new issue