From d33998b3ae3da72240d1dcc9f7766d42b94e0999 Mon Sep 17 00:00:00 2001 From: Soispha Date: Fri, 5 Jan 2024 13:26:31 +0100 Subject: feat(hm/pkgs/scr/ytcc/ytc): Rewrite in Rust --- sys/nixpkgs/pkgs/ytc/package.nix | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 sys/nixpkgs/pkgs/ytc/package.nix (limited to 'sys/nixpkgs/pkgs/ytc/package.nix') diff --git a/sys/nixpkgs/pkgs/ytc/package.nix b/sys/nixpkgs/pkgs/ytc/package.nix new file mode 100644 index 00000000..8c02f073 --- /dev/null +++ b/sys/nixpkgs/pkgs/ytc/package.nix @@ -0,0 +1,19 @@ +{ + rustPlatform, + ytcc, + yt-dlp, + mpv, +}: +rustPlatform.buildRustPackage { + pname = "ytc"; + version = "0.1.0"; + + src = ./.; + cargoHash = "sha256-KogHeuKKYhhpfSg+ImPCO4RwxWMOhSBXa3OjwCBZxEE="; + + buildInputs = [ + ytcc + yt-dlp + mpv + ]; +} -- cgit 1.4.1