From b53a8d82a07c29010a690b7126795fd7ddcabe0c Mon Sep 17 00:00:00 2001 From: Soispha Date: Sat, 20 Jan 2024 18:38:18 +0100 Subject: feat(sys/nixpkgs/yt): Add support for the 'url' command This simply opens the youtube url in the browser --- sys/nixpkgs/pkgs/yt/flake.nix | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 sys/nixpkgs/pkgs/yt/flake.nix (limited to 'sys/nixpkgs/pkgs/yt/flake.nix') diff --git a/sys/nixpkgs/pkgs/yt/flake.nix b/sys/nixpkgs/pkgs/yt/flake.nix new file mode 100644 index 00000000..5f711304 --- /dev/null +++ b/sys/nixpkgs/pkgs/yt/flake.nix @@ -0,0 +1,36 @@ +{ + description = "yt"; + + inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; + + flake-utils.url = "github:numtide/flake-utils"; + }; + + outputs = { + self, + nixpkgs, + flake-utils, + }: (flake-utils.lib.eachDefaultSystem (system: let + pkgs = nixpkgs.legacyPackages."${system}"; + in { + devShells.default = pkgs.mkShell { + packages = with pkgs; [ + # rust stuff + cargo + cargo-clippy + cargo-fmt + clippy-driver + rust-gdb + rust-gdbgui + rust-lldb + rustc + rustdoc + rustfmt + + cargo-edit + cargo-expand + ]; + }; + })); +} -- cgit 1.4.1