summary refs log tree commit diff
path: root/pkgs/applications/audio/schismtracker
diff options
context:
space:
mode:
authorChristoph Neidahl <christoph.neidahl@gmail.com>2020-05-02 22:09:13 +0200
committerGitHub <noreply@github.com>2020-05-02 16:09:13 -0400
commitd6fcf36e47839eea3acb854c2831b49b6aa03d98 (patch)
tree9fcf80dd003de294c28dc980a0d0fc4dd18fe359 /pkgs/applications/audio/schismtracker
parent434cf0fe6a1871b03b2e9dbb0cfe6dd82976ad23 (diff)
downloadnixpkgs-d6fcf36e47839eea3acb854c2831b49b6aa03d98.tar
nixpkgs-d6fcf36e47839eea3acb854c2831b49b6aa03d98.tar.gz
nixpkgs-d6fcf36e47839eea3acb854c2831b49b6aa03d98.tar.bz2
nixpkgs-d6fcf36e47839eea3acb854c2831b49b6aa03d98.tar.lz
nixpkgs-d6fcf36e47839eea3acb854c2831b49b6aa03d98.tar.xz
nixpkgs-d6fcf36e47839eea3acb854c2831b49b6aa03d98.tar.zst
nixpkgs-d6fcf36e47839eea3acb854c2831b49b6aa03d98.zip
schismtracker: 20120105 -> 20190805 (#76725)
Diffstat (limited to 'pkgs/applications/audio/schismtracker')
-rw-r--r--pkgs/applications/audio/schismtracker/default.nix29
1 files changed, 14 insertions, 15 deletions
diff --git a/pkgs/applications/audio/schismtracker/default.nix b/pkgs/applications/audio/schismtracker/default.nix
index b50dd78ff1a..36125489e3a 100644
--- a/pkgs/applications/audio/schismtracker/default.nix
+++ b/pkgs/applications/audio/schismtracker/default.nix
@@ -1,30 +1,29 @@
-{ stdenv, fetchurl, alsaLib, python, SDL }:
+{ stdenv, fetchFromGitHub
+, autoreconfHook
+, alsaLib, python, SDL }:
 
 stdenv.mkDerivation rec {
-  version = "20120105";
   pname = "schismtracker";
+  version = "20190805";
 
-  src = fetchurl {
-    url = "http://schismtracker.org/dl/${pname}-${version}.tar.bz2";
-    sha256 = "1ny7wv2wxm1av299wvpskall6438wjjpadphmqc7c0h6d0zg5kii";
+  src = fetchFromGitHub {
+    owner = pname;
+    repo = pname;
+    rev = version;
+    sha256 = "0qqps20vvn3rgpg8174bjrrm38gqcci2z5z4c1r1vhbccclahgsd";
   };
 
-  preConfigure = ''
-    # Build fails on Linux with windres.
-    export ac_cv_prog_ac_ct_WINDRES=
-  '';
-
   configureFlags = [ "--enable-dependency-tracking" ];
 
-  buildInputs = [ alsaLib python SDL ];
+  nativeBuildInputs = [ autoreconfHook python ];
 
-  enableParallelBuilding = true;
+  buildInputs = [ alsaLib SDL ];
 
-  meta = {
+  meta = with stdenv.lib; {
     description = "Music tracker application, free reimplementation of Impulse Tracker";
     homepage = "http://schismtracker.org/";
-    license = stdenv.lib.licenses.gpl2;
+    license = licenses.gpl2;
     platforms = [ "x86_64-linux" "i686-linux" ];
-    maintainers = [ stdenv.lib.maintainers.ftrvxmtrx ];
+    maintainers = with maintainers; [ ftrvxmtrx ];
   };
 }