2017-03-06 14:24:40 +00:00
|
|
|
{ stdenv, fetchgit
|
|
|
|
, SDL2, wxGTK }:
|
2014-09-30 04:35:40 +01:00
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
stdenv.mkDerivation {
|
2014-09-30 04:35:40 +01:00
|
|
|
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "sound-of-sorting";
|
2017-03-06 14:24:40 +00:00
|
|
|
version = "unstable-2015-07-21";
|
2014-09-30 04:35:40 +01:00
|
|
|
|
2017-03-06 14:24:40 +00:00
|
|
|
src = fetchgit {
|
|
|
|
url = "https://github.com/bingmann/sound-of-sorting.git";
|
|
|
|
rev = "05db428c796a7006d63efdbe314f976e0aa881d6";
|
|
|
|
sha256 = "0m2f1dym3hcar7784sjzkbf940b28r02ajhkjgyyw7715psifb8l";
|
|
|
|
fetchSubmodules = true;
|
2014-09-30 04:35:40 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = with stdenv.lib;
|
|
|
|
[ wxGTK SDL2 ];
|
|
|
|
|
|
|
|
preConfigure = ''
|
2017-03-06 14:24:40 +00:00
|
|
|
export SDL_CONFIG=${SDL2.dev}/bin/sdl2-config
|
2014-09-30 04:35:40 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib;{
|
|
|
|
description = "Audibilization and Visualization of Sorting Algorithms";
|
|
|
|
homepage = http://panthema.net/2013/sound-of-sorting/;
|
2017-03-06 14:24:40 +00:00
|
|
|
license = with licenses; gpl3;
|
|
|
|
maintainers = with maintainers; [ AndersonTorres ];
|
2014-09-30 04:35:40 +01:00
|
|
|
};
|
|
|
|
}
|