about summary refs log tree commit diff stats
path: root/pkgs/by-name/mp/mpc-beetrm/package.nix
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-08-11 13:43:40 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-08-11 14:03:45 +0200
commit9207419322db99e4d565d1409028175e1403be14 (patch)
tree189313c9ee09f36f1b2731b422857ad36fc3cea9 /pkgs/by-name/mp/mpc-beetrm/package.nix
parentfeat(home/beets): Init the xtractor plugin (diff)
downloadnixos-config-9207419322db99e4d565d1409028175e1403be14.zip
fix(pkgs/mpc-rm): Rename to `mpc-beetrm`
This avoids shadowing the original `mpc rm` command
Diffstat (limited to 'pkgs/by-name/mp/mpc-beetrm/package.nix')
-rw-r--r--pkgs/by-name/mp/mpc-beetrm/package.nix16
1 files changed, 16 insertions, 0 deletions
diff --git a/pkgs/by-name/mp/mpc-beetrm/package.nix b/pkgs/by-name/mp/mpc-beetrm/package.nix
new file mode 100644
index 00000000..837c93e2
--- /dev/null
+++ b/pkgs/by-name/mp/mpc-beetrm/package.nix
@@ -0,0 +1,16 @@
+{
+  sysLib,
+  mpc-cli,
+  beets,
+}:
+sysLib.writeShellScript {
+  name = "mpc-beetrm";
+  src = ./mpc-beetrm.sh;
+  generateCompletions = false;
+  keepPath = false;
+
+  dependencies = [
+    mpc-cli
+    beets
+  ];
+}