2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, SDL2, wxGTK } :
|
2014-09-30 03:35:40 +00:00
|
|
|
|
2020-04-05 12:11:17 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2014-09-30 03:35:40 +00:00
|
|
|
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "sound-of-sorting";
|
2020-04-05 12:11:17 +00:00
|
|
|
version = "2017-12-23";
|
2014-09-30 03:35:40 +00:00
|
|
|
|
2020-04-05 12:11:17 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "bingmann";
|
|
|
|
repo = "sound-of-sorting";
|
|
|
|
rev = "5884a357af5775fb57d89eb028d4bf150760db75";
|
|
|
|
sha256 = "01bpzn38cwn9zlydzvnfz9k7mxdnjnvgnbcpx7i4al8fha7x9lw8";
|
2014-09-30 03:35:40 +00:00
|
|
|
};
|
|
|
|
|
2020-10-02 08:31:30 +00:00
|
|
|
buildInputs =
|
2014-09-30 03:35:40 +00:00
|
|
|
[ wxGTK SDL2 ];
|
|
|
|
|
|
|
|
preConfigure = ''
|
2017-03-06 14:24:40 +00:00
|
|
|
export SDL_CONFIG=${SDL2.dev}/bin/sdl2-config
|
2014-09-30 03:35:40 +00:00
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2014-09-30 03:35:40 +00:00
|
|
|
description = "Audibilization and Visualization of Sorting Algorithms";
|
2020-10-02 07:58:50 +00: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 03:35:40 +00:00
|
|
|
};
|
|
|
|
}
|