From cbd9aec4bf2e488156f5dc101271d572af0cd2ca Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Fri, 29 Nov 2024 18:48:07 +0100 Subject: chore(pkgs/by-name/ya/{cpu,memory}): Merge There is no reason to keep these two programs separate. --- pkgs/by-name/ya/yambar-modules/flake.nix | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 pkgs/by-name/ya/yambar-modules/flake.nix (limited to 'pkgs/by-name/ya/yambar-modules/flake.nix') diff --git a/pkgs/by-name/ya/yambar-modules/flake.nix b/pkgs/by-name/ya/yambar-modules/flake.nix new file mode 100644 index 00000000..e3d0cd49 --- /dev/null +++ b/pkgs/by-name/ya/yambar-modules/flake.nix @@ -0,0 +1,32 @@ +{ + description = "Extension modules for yambar(1)"; + + inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; + flake-utils.url = "github:numtide/flake-utils"; + }; + + outputs = { + nixpkgs, + flake-utils, + ... + }: + flake-utils.lib.eachDefaultSystem (system: let + pkgs = nixpkgs.legacyPackages."${system}"; + in { + devShells.default = pkgs.mkShell { + packages = with pkgs; [ + # rust stuff + cargo + clippy + rustc + rustfmt + + cargo-edit + cargo-expand + ]; + }; + }); +} +# vim: ts=2 + -- cgit 1.4.1