about summary refs log tree commit diff stats
path: root/sys/nixpkgs/pkgs/ytc/package.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--sys/nixpkgs/pkgs/ytc/package.nix19
1 files changed, 19 insertions, 0 deletions
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
+  ];
+}