2020-04-05 13:11:17 +01:00
|
|
|
{ stdenv, fetchFromGitHub, SDL2, wxGTK } :
|
2014-09-30 04:35:40 +01:00
|
|
|
|
2020-04-05 13:11:17 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2014-09-30 04:35:40 +01:00
|
|
|
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "sound-of-sorting";
|
2020-04-05 13:11:17 +01:00
|
|
|
version = "2017-12-23";
|
2014-09-30 04:35:40 +01:00
|
|
|
|
2020-04-05 13:11:17 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "bingmann";
|
|
|
|
repo = "sound-of-sorting";
|
|
|
|
rev = "5884a357af5775fb57d89eb028d4bf150760db75";
|
|
|
|
sha256 = "01bpzn38cwn9zlydzvnfz9k7mxdnjnvgnbcpx7i4al8fha7x9lw8";
|
2014-09-30 04:35:40 +01:00
|
|
|
};
|
|
|
|
|
2020-10-02 09:31:30 +01:00
|
|
|
buildInputs =
|
2014-09-30 04:35:40 +01:00
|
|
|
[ 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
|
|
|
'';
|
|
|
|
|
2020-04-05 13:11:17 +01:00
|
|
|
meta = with stdenv.lib; {
|
2014-09-30 04:35:40 +01:00
|
|
|
description = "Audibilization and Visualization of Sorting Algorithms";
|
2020-10-02 08:58:50 +01:00
|
|
|
homepage = "https://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
|
|
|
};
|
|
|
|
}
|