1
0
Files
nix-shared/pkgs/tb-dev-scripts/default.nix

25 lines
703 B
Nix

{ pkgs, lib }:
pkgs.symlinkJoin {
name = "tb-dev-scripts";
meta = {
description = "Custom development scripts for TB";
maintainers = [ ];
};
paths = [
(pkgs.writers.writePython3Bin ",cmake_update_fetchcontent" {
libraries = [ ];
makeWrapperArgs = [
"--prefix PATH : ${lib.makeBinPath [ pkgs.git ]}"
];
} (builtins.readFile ./cmake_update_fetchcontent.py))
(pkgs.writers.writePython3Bin ",video_loop_extractor" {
libraries = [ pkgs.python3Packages.librosa pkgs.python3Packages.numpy ];
makeWrapperArgs = [
"--prefix PATH : ${lib.makeBinPath [ pkgs.ffmpeg ]}"
];
} (builtins.readFile ./video_loop_extractor.py))
];
}