about summary refs log tree commit diff stats
path: root/sys/nixpkgs/pkgs/ytc/package.nix
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2024-01-05 13:26:31 +0100
committerSoispha <soispha@vhack.eu>2024-01-05 13:26:31 +0100
commitd33998b3ae3da72240d1dcc9f7766d42b94e0999 (patch)
tree69795f58c23d88fccebf97e1519a18ebc253520e /sys/nixpkgs/pkgs/ytc/package.nix
parentfix(hm/pkgs/scr/ytcc/filter_comments.sh): Rename export script to 'comments' (diff)
downloadnixos-config-d33998b3ae3da72240d1dcc9f7766d42b94e0999.tar.gz
nixos-config-d33998b3ae3da72240d1dcc9f7766d42b94e0999.zip
feat(hm/pkgs/scr/ytcc/ytc): Rewrite in Rust
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
+  ];
+}