nixpkgs/pkgs/development/libraries/aml/default.nix

25 lines
579 B
Nix

{ lib, stdenv, fetchFromGitHub, meson, pkg-config, ninja }:
stdenv.mkDerivation rec {
pname = "aml";
version = "0.3.0";
src = fetchFromGitHub {
owner = "any1";
repo = pname;
rev = "v${version}";
sha256 = "sha256-BX+MRqvnwwLPhz22m0gfJ2EkW31KQEi/YTgOCMcQk2Q=";
};
nativeBuildInputs = [ meson pkg-config ninja ];
meta = with lib; {
description = "Another main loop";
inherit (src.meta) homepage;
license = licenses.isc;
platforms = platforms.unix;
maintainers = with maintainers; [ primeos ];
broken = stdenv.isDarwin;
};
}