Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sound-of-sorting: 0.6.5 -> 20150721 (#23549)
* sound-of-sorting: 0.6.5 -> 20150721 * sound-of-sorting: correct unstable version format (cherry picked from commit e96a2f8)
- Loading branch information
1 parent
91fe20c
commit cb2c5ca
Showing
1 changed file
with
11 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,29 @@ | ||
{ stdenv, fetchurl | ||
, SDL2, wxGTK | ||
}: | ||
{ stdenv, fetchgit | ||
, SDL2, wxGTK }: | ||
|
||
stdenv.mkDerivation rec { | ||
|
||
name = "sound-of-sorting-${version}"; | ||
version = "0.6.5"; | ||
version = "unstable-2015-07-21"; | ||
|
||
src = fetchurl { | ||
url = "https://github.com/bingmann/sound-of-sorting/archive/${name}.tar.gz"; | ||
sha256 = "1524bhmy5067z9bjc15hvqslw43adgpdn4272iymq09ahja4x76b"; | ||
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}/bin/sdl2-config | ||
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 = licenses.gpl3; | ||
maintainers = [ maintainers.AndersonTorres ]; | ||
license = with licenses; gpl3; | ||
maintainers = with maintainers; [ AndersonTorres ]; | ||
}; | ||
} |