nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 fetchFromGitHub,
4 stdenv,
5 cmake,
6 SDL2,
7}:
8
9stdenv.mkDerivation {
10 pname = "clunk";
11 version = "1.0-unstable-2020-06-25";
12
13 src = fetchFromGitHub {
14 owner = "stalkerg";
15 repo = "clunk";
16 rev = "6d4cbbe1b6f1e202b9945d20073952b254e8d530";
17 hash = "sha256-cz6v7rQYIoLf53Od7THmDPmBfhn8DBP7+uOIZRF0gc8=";
18 };
19
20 buildInputs = [ SDL2 ];
21 nativeBuildInputs = [ cmake ];
22
23 meta = {
24 description = "Clunk - real-time binaural sound generation library. Versions for Vangers game. Porting to SDL2 and fix some errors";
25 homepage = "https://github.com/stalkerg/clunk";
26 platforms = lib.platforms.all;
27 license = with lib.licenses; [ lgpl21Plus ];
28 maintainers = with lib.maintainers; [ _3JlOy-PYCCKUi ];
29 };
30
31}