about summary refs log tree commit diff
path: root/pkgs/applications/audio/sptlrx
diff options
context:
space:
mode:
authorMoritz Böhme <mail@moritzboeh.me>2022-02-03 19:25:29 +0100
committerMoritz Böhme <mail@moritzboeh.me>2022-02-03 19:25:29 +0100
commit7d656c99c029fafdcff31eeeacaf34941a5c1afb (patch)
tree4c2465fe468e1a23f548c474f0a9df167cb6d057 /pkgs/applications/audio/sptlrx
parent1621a69fa42800f64f7aea6f8b78d9537d300bf3 (diff)
sptlrx: init at 0.1.0
Diffstat (limited to 'pkgs/applications/audio/sptlrx')
-rw-r--r--pkgs/applications/audio/sptlrx/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/applications/audio/sptlrx/default.nix b/pkgs/applications/audio/sptlrx/default.nix
new file mode 100644
index 0000000000000..21545ab5d87ec
--- /dev/null
+++ b/pkgs/applications/audio/sptlrx/default.nix
@@ -0,0 +1,24 @@
+{ lib, buildGoModule, fetchFromGitHub }:
+
+buildGoModule rec {
+  pname = "sptlrx";
+  version = "0.1.0";
+
+  src = fetchFromGitHub {
+    owner = "raitonoberu";
+    repo = pname;
+    rev = "v${version}";
+    sha256 = "sha256-Wk4vXm6sB+Rw0VFAhfD0GKxsP+1LwpS6VFHa3UENuJk=";
+  };
+
+  vendorSha256 = "sha256-l5gIbjB2rJyNmZBqrHo4kwClmAgjgDWHTs5KWzrfC08=";
+
+  ldflags = [ "-s" "-w" ];
+
+  meta = with lib; {
+    description = "Spotify lyrics in your terminal.";
+    homepage = "https://github.com/raitonoberu/sptlrx";
+    license = licenses.mit;
+    maintainers = with maintainers; [ MoritzBoehme ];
+  };
+}