summaryrefslogtreecommitdiffstats
path: root/pkgs/misc/sound-of-sorting
diff options
context:
space:
mode:
authorAnderson Torres <torres.anderson.85@gmail.com>2017-03-06 11:24:40 -0300
committerJörg Thalheim <Mic92@users.noreply.github.com>2017-03-06 15:24:40 +0100
commite96a2f845080c68a4a3347f14c4d9700a1aafe52 (patch)
tree3850cd9f1f3cba86cf650c74ac4ad082a4f5655c /pkgs/misc/sound-of-sorting
parent00ffbf060c7c11c11d755ea2e4815bfc5e58d464 (diff)
sound-of-sorting: 0.6.5 -> 20150721 (#23549)
* sound-of-sorting: 0.6.5 -> 20150721 * sound-of-sorting: correct unstable version format
Diffstat (limited to 'pkgs/misc/sound-of-sorting')
-rw-r--r--pkgs/misc/sound-of-sorting/default.nix21
1 files changed, 11 insertions, 10 deletions
diff --git a/pkgs/misc/sound-of-sorting/default.nix b/pkgs/misc/sound-of-sorting/default.nix
index fa1be80287a2..6db3b44b6866 100644
--- a/pkgs/misc/sound-of-sorting/default.nix
+++ b/pkgs/misc/sound-of-sorting/default.nix
@@ -1,28 +1,29 @@
-{ stdenv, fetchurl
-, SDL2, wxGTK
-}:
+{ stdenv, fetchgit
+, SDL2, wxGTK }:
stdenv.mkDerivation rec {
name = "sound-of-sorting-${version}";
- version = "0.6.5";
+ version = "unstable-2015-07-21";
- src = fetchurl {
- url = "https://github.com/bingmann/sound-of-sorting/archive/${name}.tar.gz";
- sha256 = "1524bhmy5067z9bjc15hvqslw43adgpdn4272iymq09ahja4x76b";
+ src = fetchgit {
+ url = "https://github.com/bingmann/sound-of-sorting.git";
+ rev = "05db428c796a7006d63efdbe314f976e0aa881d6";
+ sha256 = "0m2f1dym3hcar7784sjzkbf940b28r02ajhkjgyyw7715psifb8l";
+ fetchSubmodules = true;
};
buildInputs = with stdenv.lib;
[ wxGTK SDL2 ];
preConfigure = ''
- export SDL_CONFIG=${SDL2}/bin/sdl2-config
+ export SDL_CONFIG=${SDL2.dev}/bin/sdl2-config
'';
meta = with stdenv.lib;{
description = "Audibilization and Visualization of Sorting Algorithms";
homepage = http://panthema.net/2013/sound-of-sorting/;
- license = licenses.gpl3;
- maintainers = [ maintainers.AndersonTorres ];
+ license = with licenses; gpl3;
+ maintainers = with maintainers; [ AndersonTorres ];
};
}