mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 05:31:22 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
30 lines
757 B
Nix
30 lines
757 B
Nix
{ stdenv, fetchgit
|
|
, SDL2, wxGTK }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "sound-of-sorting";
|
|
version = "unstable-2015-07-21";
|
|
|
|
src = fetchgit {
|
|
url = "https://github.com/bingmann/sound-of-sorting.git";
|
|
rev = "05db428c796a7006d63efdbe314f976e0aa881d6";
|
|
sha256 = "0m2f1dym3hcar7784sjzkbf940b28r02ajhkjgyyw7715psifb8l";
|
|
fetchSubmodules = true;
|
|
};
|
|
|
|
buildInputs = with stdenv.lib;
|
|
[ wxGTK SDL2 ];
|
|
|
|
preConfigure = ''
|
|
export SDL_CONFIG=${SDL2.dev}/bin/sdl2-config
|
|
'';
|
|
|
|
meta = with stdenv.lib;{
|
|
description = "Audibilization and Visualization of Sorting Algorithms";
|
|
homepage = http://panthema.net/2013/sound-of-sorting/;
|
|
license = with licenses; gpl3;
|
|
maintainers = with maintainers; [ AndersonTorres ];
|
|
};
|
|
}
|