summary refs log tree commit diff
path: root/pkgs/misc/sound-of-sorting
diff options
context:
space:
mode:
authorAndersonTorres <torres.anderson.85@protonmail.com>2020-04-05 09:11:17 -0300
committerAndersonTorres <torres.anderson.85@protonmail.com>2020-04-14 21:43:14 -0300
commitab2a8350bcad1d270ce53a0aafb59c46b9b63ab3 (patch)
tree7f30f4cc24d241589f40e179b64a945575e92b18 /pkgs/misc/sound-of-sorting
parentf5b4c91be54700a65ec45be0bc5f6942d93d4a0f (diff)
downloadnixpkgs-ab2a8350bcad1d270ce53a0aafb59c46b9b63ab3.tar
nixpkgs-ab2a8350bcad1d270ce53a0aafb59c46b9b63ab3.tar.gz
nixpkgs-ab2a8350bcad1d270ce53a0aafb59c46b9b63ab3.tar.bz2
nixpkgs-ab2a8350bcad1d270ce53a0aafb59c46b9b63ab3.tar.lz
nixpkgs-ab2a8350bcad1d270ce53a0aafb59c46b9b63ab3.tar.xz
nixpkgs-ab2a8350bcad1d270ce53a0aafb59c46b9b63ab3.tar.zst
nixpkgs-ab2a8350bcad1d270ce53a0aafb59c46b9b63ab3.zip
sound-of-sorting: 2015-07-21 -> 2017-12-23
Diffstat (limited to 'pkgs/misc/sound-of-sorting')
-rw-r--r--pkgs/misc/sound-of-sorting/default.nix21
1 files changed, 10 insertions, 11 deletions
diff --git a/pkgs/misc/sound-of-sorting/default.nix b/pkgs/misc/sound-of-sorting/default.nix
index 6b1c91d088e..07e50c8379e 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;