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