2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, meson, pkg-config, ninja }:
|
2020-07-28 12:49:06 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "aml";
|
2023-01-25 01:03:32 +00:00
|
|
|
version = "0.3.0";
|
2020-07-28 12:49:06 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "any1";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-01-25 01:03:32 +00:00
|
|
|
sha256 = "sha256-BX+MRqvnwwLPhz22m0gfJ2EkW31KQEi/YTgOCMcQk2Q=";
|
2020-07-28 12:49:06 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ meson pkg-config ninja ];
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2020-07-28 12:49:06 +00:00
|
|
|
description = "Another main loop";
|
|
|
|
inherit (src.meta) homepage;
|
|
|
|
license = licenses.isc;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ primeos ];
|
2020-12-02 10:57:23 +00:00
|
|
|
broken = stdenv.hostPlatform.isDarwin;
|
2020-07-28 12:49:06 +00:00
|
|
|
};
|
|
|
|
}
|