sound-of-sorting: update

- add meta.mainProgram
- migrate to by-name
This commit is contained in:
Anderson Torres 2023-09-09 19:25:57 -03:00
parent be48e33bc3
commit 9617989334
2 changed files with 8 additions and 7 deletions

View File

@ -7,9 +7,9 @@
, darwin
}:
stdenv.mkDerivation {
stdenv.mkDerivation (finalAttrs: {
pname = "sound-of-sorting";
version = "unstable-2022-10-12";
version = "0.6.5-unstable-2022-10-12";
src = fetchFromGitHub {
owner = "bingmann";
@ -26,13 +26,16 @@ stdenv.mkDerivation {
wxGTK32
SDL2
]
++ lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Cocoa ;
++ lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.Cocoa
];
meta = {
description = "Audibilization and Visualization of Sorting Algorithms";
homepage = "https://panthema.net/2013/sound-of-sorting/";
license = lib.licenses.gpl3Plus;
mainProgram = "sound-of-sorting";
maintainers = with lib.maintainers; [ AndersonTorres ];
platforms = lib.platforms.unix;
inherit (SDL2.meta) platforms;
};
}
})

View File

@ -41109,8 +41109,6 @@ with pkgs;
soundmodem = callPackage ../applications/radio/soundmodem { };
sound-of-sorting = callPackage ../misc/sound-of-sorting { };
sourceAndTags = callPackage ../misc/source-and-tags {
hasktags = haskellPackages.hasktags;
};