about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/audio/sptlrx/default.nix
blob: 1d53c2f4cea431cc06ca0cf3601a20bb265c0a89 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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 ];
  };
}