2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, meson, pkg-config, ninja }:
|
2020-07-28 13:49:06 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "aml";
|
2021-10-16 21:29:38 +01:00
|
|
|
version = "0.2.1";
|
2020-07-28 13:49:06 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "any1";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-10-16 21:29:38 +01:00
|
|
|
sha256 = "1m911n3rd41ch4yk3k9k1lz29xp3h54k6jx122abq5kmngy9znqw";
|
2020-07-28 13:49:06 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ meson pkg-config ninja ];
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2020-07-28 13:49:06 +01: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.isDarwin;
|
2020-07-28 13:49:06 +01:00
|
|
|
};
|
|
|
|
}
|