summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorAnderson Torres <torres.anderson.85@protonmail.com>2020-04-07 02:09:52 -0300
committerGitHub <noreply@github.com>2020-04-06 22:09:52 -0700
commit5040cd56b00029335ed5652841da664745b1e195 (patch)
tree9827e0f848f7f2cab921fe3d0e0c0ea80a37f082 /pkgs
parent08c7b8187fedb47e1214241d516bdf802e8fe119 (diff)
downloadnixpkgs-5040cd56b00029335ed5652841da664745b1e195.tar
nixpkgs-5040cd56b00029335ed5652841da664745b1e195.tar.gz
nixpkgs-5040cd56b00029335ed5652841da664745b1e195.tar.bz2
nixpkgs-5040cd56b00029335ed5652841da664745b1e195.tar.lz
nixpkgs-5040cd56b00029335ed5652841da664745b1e195.tar.xz
nixpkgs-5040cd56b00029335ed5652841da664745b1e195.tar.zst
nixpkgs-5040cd56b00029335ed5652841da664745b1e195.zip
atari800: 4.0.0 -> 4.2.0
* atari800: 4.0.0 -> 4.2.0

* Update pkgs/misc/emulators/atari800/default.nix

Co-Authored-By: Ryan Mulligan <ryan@ryantm.com>

* Update pkgs/misc/emulators/atari800/default.nix

Co-Authored-By: Ryan Mulligan <ryan@ryantm.com>

Co-authored-by: Ryan Mulligan <ryan@ryantm.com>
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/misc/emulators/atari800/default.nix18
1 files changed, 10 insertions, 8 deletions
diff --git a/pkgs/misc/emulators/atari800/default.nix b/pkgs/misc/emulators/atari800/default.nix
index 38dc54ea9d7..bb6323d18e0 100644
--- a/pkgs/misc/emulators/atari800/default.nix
+++ b/pkgs/misc/emulators/atari800/default.nix
@@ -1,16 +1,20 @@
-{ stdenv, fetchurl
+{ stdenv, fetchFromGitHub, autoreconfHook
 , unzip, zlib, SDL, readline, libGLU, libGL, libX11 }:
 
 with stdenv.lib;
 stdenv.mkDerivation rec{
   pname = "atari800";
-  version = "4.0.0";
+  version = "4.2.0";
 
-  src = fetchurl {
-    url = "mirror://sourceforge/atari800/atari800/${version}/${pname}-${version}.tar.gz";
-    sha256 = "1dcynsf8i52y7zyg62bkbhl3rdd22ss95zs2s9jm4y5jvn4vks88";
+  src = fetchFromGitHub {
+    owner = "atari800";
+    repo = "atari800";
+    rev = "ATARI800_${replaceChars ["."] ["_"] version}";
+    sha256 = "15l08clqqayi9izrgsz9achan6gl4x57wqsc8mad3yn0xayzz3qy";
   };
 
+  nativeBuildInputs = [ autoreconfHook ];
+
   buildInputs = [ unzip zlib SDL readline libGLU libGL libX11 ];
 
   configureFlags = [
@@ -23,10 +27,8 @@ stdenv.mkDerivation rec{
     "--enable-riodevice"
   ];
 
-  preConfigure = "cd src";
-
   meta = {
-    homepage = http://atari800.sourceforge.net/;
+    homepage = "https://atari800.github.io/";
     description = "An Atari 8-bit emulator";
     longDescription = ''
       Atari800 is the emulator of Atari 8-bit computer systems and