sound-of-sorting: 2017-12-23 -> unstable-2022-10-12
This commit is contained in:
parent
86872d31b1
commit
6dfed5d51a
2 changed files with 11 additions and 13 deletions
|
@ -1,28 +1,24 @@
|
|||
{ lib, stdenv, fetchFromGitHub, SDL2, wxGTK } :
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
{ lib, stdenv, fetchFromGitHub, pkg-config, SDL2, wxGTK32, Cocoa }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "sound-of-sorting";
|
||||
version = "2017-12-23";
|
||||
version = "unstable-2022-10-12";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bingmann";
|
||||
repo = "sound-of-sorting";
|
||||
rev = "5884a357af5775fb57d89eb028d4bf150760db75";
|
||||
sha256 = "01bpzn38cwn9zlydzvnfz9k7mxdnjnvgnbcpx7i4al8fha7x9lw8";
|
||||
rev = "5cfcaf752593c8cbcf52555dd22745599a7d8b1b";
|
||||
sha256 = "sha256-cBrTvFoz6WZIsh5qPPiWxQ338Z0OfcIefiI8CZF6nn8=";
|
||||
};
|
||||
|
||||
buildInputs =
|
||||
[ wxGTK SDL2 ];
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
preConfigure = ''
|
||||
export SDL_CONFIG=${SDL2.dev}/bin/sdl2-config
|
||||
'';
|
||||
buildInputs = [ wxGTK32 SDL2 ] ++ lib.optionals stdenv.isDarwin [ Cocoa ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Audibilization and Visualization of Sorting Algorithms";
|
||||
homepage = "https://panthema.net/2013/sound-of-sorting/";
|
||||
license = with licenses; gpl3;
|
||||
license = with licenses; gpl3Plus;
|
||||
maintainers = with maintainers; [ AndersonTorres ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -36818,7 +36818,9 @@ with pkgs;
|
|||
|
||||
soundmodem = callPackage ../applications/radio/soundmodem {};
|
||||
|
||||
soundOfSorting = callPackage ../misc/sound-of-sorting { };
|
||||
soundOfSorting = callPackage ../misc/sound-of-sorting {
|
||||
inherit (darwin.apple_sdk.frameworks) Cocoa;
|
||||
};
|
||||
|
||||
sourceAndTags = callPackage ../misc/source-and-tags {
|
||||
hasktags = haskellPackages.hasktags;
|
||||
|
|
Loading…
Reference in a new issue