From ab2a8350bcad1d270ce53a0aafb59c46b9b63ab3 Mon Sep 17 00:00:00 2001 From: AndersonTorres Date: Sun, 5 Apr 2020 09:11:17 -0300 Subject: sound-of-sorting: 2015-07-21 -> 2017-12-23 --- pkgs/misc/sound-of-sorting/default.nix | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) (limited to 'pkgs/misc/sound-of-sorting') diff --git a/pkgs/misc/sound-of-sorting/default.nix b/pkgs/misc/sound-of-sorting/default.nix index 6b1c91d088ee..07e50c8379e5 100644 --- a/pkgs/misc/sound-of-sorting/default.nix +++ b/pkgs/misc/sound-of-sorting/default.nix @@ -1,26 +1,25 @@ -{ stdenv, fetchgit -, SDL2, wxGTK }: +{ stdenv, fetchFromGitHub, SDL2, wxGTK } : -stdenv.mkDerivation { +stdenv.mkDerivation rec { pname = "sound-of-sorting"; - version = "unstable-2015-07-21"; + version = "2017-12-23"; - src = fetchgit { - url = "https://github.com/bingmann/sound-of-sorting.git"; - rev = "05db428c796a7006d63efdbe314f976e0aa881d6"; - sha256 = "0m2f1dym3hcar7784sjzkbf940b28r02ajhkjgyyw7715psifb8l"; - fetchSubmodules = true; + src = fetchFromGitHub { + owner = "bingmann"; + repo = "sound-of-sorting"; + rev = "5884a357af5775fb57d89eb028d4bf150760db75"; + sha256 = "01bpzn38cwn9zlydzvnfz9k7mxdnjnvgnbcpx7i4al8fha7x9lw8"; }; - buildInputs = with stdenv.lib; + buildInputs = [ wxGTK SDL2 ]; preConfigure = '' export SDL_CONFIG=${SDL2.dev}/bin/sdl2-config ''; - meta = with stdenv.lib;{ + meta = with stdenv.lib; { description = "Audibilization and Visualization of Sorting Algorithms"; homepage = "http://panthema.net/2013/sound-of-sorting/"; license = with licenses; gpl3; -- cgit v1.2.3