Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchFromGitHub, meson, pkg-config, ninja }: 2 3stdenv.mkDerivation rec { 4 pname = "aml"; 5 version = "0.3.0"; 6 7 src = fetchFromGitHub { 8 owner = "any1"; 9 repo = pname; 10 rev = "v${version}"; 11 sha256 = "sha256-BX+MRqvnwwLPhz22m0gfJ2EkW31KQEi/YTgOCMcQk2Q="; 12 }; 13 14 nativeBuildInputs = [ meson pkg-config ninja ]; 15 16 meta = with lib; { 17 description = "Another main loop"; 18 inherit (src.meta) homepage; 19 license = licenses.isc; 20 platforms = platforms.unix; 21 maintainers = with maintainers; [ primeos ]; 22 broken = stdenv.isDarwin; 23 }; 24}