sound-of-sorting: refactor

- Move camelCase name to aliases
This commit is contained in:
Anderson Torres 2023-07-08 00:00:37 -03:00
parent 9b66259531
commit 4aff21f203
3 changed files with 15 additions and 10 deletions

View file

@ -7,9 +7,6 @@
, darwin
}:
let
inherit (darwin.apple_sdk.frameworks) Cocoa;
in
stdenv.mkDerivation {
pname = "sound-of-sorting";
version = "unstable-2022-10-12";
@ -18,17 +15,24 @@ stdenv.mkDerivation {
owner = "bingmann";
repo = "sound-of-sorting";
rev = "5cfcaf752593c8cbcf52555dd22745599a7d8b1b";
sha256 = "sha256-cBrTvFoz6WZIsh5qPPiWxQ338Z0OfcIefiI8CZF6nn8=";
hash = "sha256-cBrTvFoz6WZIsh5qPPiWxQ338Z0OfcIefiI8CZF6nn8=";
};
nativeBuildInputs = [ pkg-config ];
nativeBuildInputs = [
pkg-config
];
buildInputs = [ wxGTK32 SDL2 ] ++ lib.optionals stdenv.isDarwin [ Cocoa ];
buildInputs = [
wxGTK32
SDL2
]
++ lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Cocoa ;
meta = with lib; {
meta = {
description = "Audibilization and Visualization of Sorting Algorithms";
homepage = "https://panthema.net/2013/sound-of-sorting/";
license = with licenses; gpl3Plus;
maintainers = with maintainers; [ AndersonTorres ];
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ AndersonTorres ];
platforms = lib.platforms.unix;
};
}

View file

@ -1572,6 +1572,7 @@ mapAliases ({
soldat-unstable = opensoldat; # Added 2022-07-02
solr_8 = throw "'solr' has been removed from nixpkgs, as it was broken and unmaintained"; # Added 2023-03-16
solr = throw "'solr' has been removed from nixpkgs, as it was broken and unmaintained"; # Added 2023-03-16
soundOfSorting = sound-of-sorting; # Added 2023-07-07
spark2 = throw "'spark2' is no longer supported nixpkgs, please use 'spark'"; # Added 2023-05-08
spark_2_4 = throw "'spark_2_4' is no longer supported nixpkgs, please use 'spark'"; # Added 2023-05-08
spark_3_1 = throw "'spark_3_1' is no longer supported nixpkgs, please use 'spark'"; # Added 2023-05-08

View file

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