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