2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, allegro, SDL2 }:
|
2018-06-17 18:49:06 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "dumb";
|
2018-06-17 18:49:06 +01:00
|
|
|
version = "2.0.3";
|
2021-01-03 09:43:56 +00:00
|
|
|
|
2018-06-17 18:49:06 +01:00
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [ allegro SDL2 ];
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kode54";
|
|
|
|
repo = "dumb";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "1cnq6rb14d4yllr0yi32p9jmcig8avs3f43bvdjrx4r1mpawspi6";
|
|
|
|
};
|
|
|
|
|
|
|
|
cmakeFlags = [
|
|
|
|
"-DBUILD_EXAMPLES='OFF'"
|
|
|
|
];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-06-17 18:49:06 +01:00
|
|
|
homepage = "https://github.com/kode54/dumb";
|
|
|
|
description = "Module/tracker based music format parser and player library";
|
|
|
|
license = licenses.free; # Derivative of GPL
|
2022-04-18 00:13:36 +01:00
|
|
|
maintainers = with maintainers; [ Madouura ];
|
2018-06-17 18:49:06 +01:00
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|