summary refs log tree commit diff
path: root/pkgs/applications/audio/gjay
diff options
context:
space:
mode:
authorAndersonTorres <torres.anderson.85@protonmail.com>2021-02-12 08:31:12 -0300
committerAndersonTorres <torres.anderson.85@protonmail.com>2021-02-12 08:31:12 -0300
commitd9758316965e7c6f67c440e4059e51d02dbd38cf (patch)
tree78bacbdb1597b15939de7899560a96d3a6efce8c /pkgs/applications/audio/gjay
parentea01de98f67574b5f7cdb8f5f4a3a940df28eb84 (diff)
downloadnixpkgs-d9758316965e7c6f67c440e4059e51d02dbd38cf.tar
nixpkgs-d9758316965e7c6f67c440e4059e51d02dbd38cf.tar.gz
nixpkgs-d9758316965e7c6f67c440e4059e51d02dbd38cf.tar.bz2
nixpkgs-d9758316965e7c6f67c440e4059e51d02dbd38cf.tar.lz
nixpkgs-d9758316965e7c6f67c440e4059e51d02dbd38cf.tar.xz
nixpkgs-d9758316965e7c6f67c440e4059e51d02dbd38cf.tar.zst
nixpkgs-d9758316965e7c6f67c440e4059e51d02dbd38cf.zip
gjay: mpd_clientlib -> libmpdclient
Diffstat (limited to 'pkgs/applications/audio/gjay')
-rw-r--r--pkgs/applications/audio/gjay/default.nix31
1 files changed, 24 insertions, 7 deletions
diff --git a/pkgs/applications/audio/gjay/default.nix b/pkgs/applications/audio/gjay/default.nix
index 32c61380dca..4bd9c6dcd8f 100644
--- a/pkgs/applications/audio/gjay/default.nix
+++ b/pkgs/applications/audio/gjay/default.nix
@@ -1,24 +1,41 @@
-{ lib, stdenv, fetchurl, pkg-config, mpd_clientlib, dbus-glib, audacious, gtk2, gsl
-, libaudclient }:
+{ lib
+, stdenv
+, fetchurl
+, pkg-config
+, dbus-glib
+, audacious
+, gtk2
+, gsl
+, libaudclient
+, libmpdclient
+}:
 
-stdenv.mkDerivation {
-  name = "gjay-0.3.2";
+stdenv.mkDerivation rec {
+  pname = "gjay";
+  version = "0.3.2";
 
   src = fetchurl {
-    url = "mirror://sourceforge/project/gjay/gjay-0.3.2.tar.gz";
+    url = "mirror://sourceforge/project/gjay/${pname}-${version}.tar.gz";
     sha256 = "1a1vv4r0vnxjdyl0jyv7gga3zfd5azxlwjm1l6hjrf71lb228zn8";
   };
 
   nativeBuildInputs = [ pkg-config ];
 
-  buildInputs = [ mpd_clientlib dbus-glib audacious gtk2 gsl libaudclient ];
+  buildInputs = [
+    libmpdclient
+    dbus-glib
+    audacious
+    gtk2
+    gsl
+    libaudclient
+  ];
 
   hardeningDisable = [ "format" ];
 
   meta = with lib; {
     description = "Generates playlists such that each song sounds good following the previous song";
     homepage = "http://gjay.sourceforge.net/";
-    license = licenses.gpl2;
+    license = licenses.gpl2Plus;
     maintainers = with maintainers; [ pSub ];
     platforms = with platforms; linux;
   };