libpostal: Use real 1.1 release, add data files and enable tests (#362841)
[NixPkgs.git] / pkgs / by-name / fr / frog-protocols / package.nix
blob0219d0461ff56fcc49f38b60fb0f542265e97eba
2   fetchFromGitHub,
3   lib,
4   meson,
5   ninja,
6   nix-update-script,
7   stdenv,
8   testers,
9 }:
11 stdenv.mkDerivation (finalAttrs: {
12   pname = "frog-protocols";
13   version = "0.01-unstable-2024-09-25";
15   src = fetchFromGitHub {
16     owner = "misyltoad";
17     repo = "frog-protocols";
18     rev = "38db7e30e62a988f701a2751447e0adffd68bb3f";
19     hash = "sha256-daWGw6mRmiz6f81JkMacPipXppRxbjL6gS1VqYlfec8=";
20   };
22   nativeBuildInputs = [
23     meson
24     ninja
25   ];
27   passthru = {
28     updateScript = nix-update-script { };
29     tests.pkg-config = testers.hasPkgConfigModules { package = finalAttrs.finalPackage; };
30   };
32   meta = {
33     description = "Wayland protocols but much more iterative";
34     homepage = "https://github.com/misyltoad/frog-protocols";
35     license = lib.licenses.mit;
36     maintainers = with lib.maintainers; [
37       getchoo
38       Scrumplex
39     ];
40     platforms = lib.platforms.all;
41     pkgConfigModules = [ "frog-protocols" ];
42   };