diff --git a/pkgs/by-name/fi/fishy/package.nix b/pkgs/by-name/fi/fishy/package.nix new file mode 100644 index 00000000000000..e5992ffcdadb9b --- /dev/null +++ b/pkgs/by-name/fi/fishy/package.nix @@ -0,0 +1,34 @@ +{ + lib, + fetchFromGitHub, + rustPlatform, + openssl, + pkg-config, +}: + +rustPlatform.buildRustPackage rec { + pname = "fishy"; + version = "0.2.1"; + + src = fetchFromGitHub { + owner = "p2panda"; + repo = pname; + tag = "v${version}"; + hash = "sha256-nRkP53v9+VzqHKTsHs+cBeLjh3yASFE18sSEY02NR1s="; + }; + + cargoHash = "sha256-4CzchWX7pd3IOTGMZj24zgJVelaYKOnKyCxGpwsCTMI="; + + OPENSSL_NO_VENDOR = 1; + + nativeBuildInputs = [ pkg-config ]; + buildInputs = [ openssl ]; + + meta = with lib; { + description = "Create, manage and deploy p2panda schemas"; + homepage = "https://github.com/p2panda/fishy"; + license = licenses.agpl3Only; + maintainers = with maintainers; [ confusedalex ]; + mainProgram = "fishy"; + }; +}