summary refs log tree commit diff
diff options
context:
space:
mode:
authorAnderson Torres <torres.anderson.85@protonmail.com>2023-03-26 23:03:51 -0300
committerAnderson Torres <torres.anderson.85@protonmail.com>2023-03-26 23:03:51 -0300
commitdb12fcedef38fead8a86c2e7b5fb276330b91c12 (patch)
tree9b8bb1ebefc131a043a11151d4a183d28c882471
parent2f0cac1b2bc44fdf8e950ae9bde01c508c68f43b (diff)
downloadnixpkgs-db12fcedef38fead8a86c2e7b5fb276330b91c12.tar
nixpkgs-db12fcedef38fead8a86c2e7b5fb276330b91c12.tar.gz
nixpkgs-db12fcedef38fead8a86c2e7b5fb276330b91c12.tar.bz2
nixpkgs-db12fcedef38fead8a86c2e7b5fb276330b91c12.tar.lz
nixpkgs-db12fcedef38fead8a86c2e7b5fb276330b91c12.tar.xz
nixpkgs-db12fcedef38fead8a86c2e7b5fb276330b91c12.tar.zst
nixpkgs-db12fcedef38fead8a86c2e7b5fb276330b91c12.zip
qmplay2: 22.08.21 -> 23.02.05
-rw-r--r--pkgs/applications/video/qmplay2/default.nix29
1 files changed, 16 insertions, 13 deletions
diff --git a/pkgs/applications/video/qmplay2/default.nix b/pkgs/applications/video/qmplay2/default.nix
index 49aa6c00e79..d4da46cfc88 100644
--- a/pkgs/applications/video/qmplay2/default.nix
+++ b/pkgs/applications/video/qmplay2/default.nix
@@ -1,34 +1,35 @@
 { lib
 , stdenv
 , fetchFromGitHub
-, pkg-config
-, cmake
 , alsa-lib
+, cmake
 , ffmpeg
 , game-music-emu
+, libXv
 , libass
 , libcddb
 , libcdio
 , libpulseaudio
 , libsidplayfp
 , libva
-, libXv
-, taglib
+, pkg-config
 , qtbase
 , qttools
+, taglib
 , vulkan-headers
 , vulkan-tools
 , wrapQtAppsHook
 }:
-stdenv.mkDerivation rec {
+
+stdenv.mkDerivation (self: {
   pname = "qmplay2";
-  version = "22.08.21";
+  version = "23.02.05";
 
   src = fetchFromGitHub {
     owner = "zaps166";
     repo = "QMPlay2";
-    rev = version;
-    sha256 = "sha256-UQf1aJGoUlXBo2lejw8A3lF6rFOKK6LUGDxRY9207Dw=";
+    rev = self.version;
+    sha256 = "sha256-ZDpUgD9qTvjopGFVrwTBSEmrXn+4aKq2zeqoTnXwmI8=";
     fetchSubmodules = true;
   };
 
@@ -37,6 +38,7 @@ stdenv.mkDerivation rec {
     pkg-config
     wrapQtAppsHook
   ];
+
   buildInputs = [
     alsa-lib
     ffmpeg
@@ -60,7 +62,7 @@ stdenv.mkDerivation rec {
     ln -s $out/bin/QMPlay2 $out/bin/qmplay2
   '';
 
-  meta = with lib; {
+  meta = {
     homepage = "https://github.com/zaps166/QMPlay2/";
     description = "Qt-based Multimedia player";
     longDescription = ''
@@ -69,8 +71,9 @@ stdenv.mkDerivation rec {
       files, Rayman 2 music and chiptunes. It contains YouTube and MyFreeMP3
       browser.
     '';
-    license = licenses.lgpl3Plus;
-    maintainers = with maintainers; [ AndersonTorres ];
-    platforms = with platforms; linux;
+    changelog = "https://github.com/zaps166/QMPlay2/releases/tag/${self.version}";
+    license = lib.licenses.lgpl3Plus;
+    maintainers = with lib.maintainers; [ AndersonTorres ];
+    platforms = lib.platforms.linux;
   };
-}
+})