diff --git a/flake.nix b/flake.nix index 9a68e5f..97034da 100644 --- a/flake.nix +++ b/flake.nix @@ -235,6 +235,7 @@ ada_language_server = pkgs.callPackage ./pkgs/ada_language_server.nix { inherit pkgs; }; alire = pkgs.callPackage ./pkgs/alire.nix { inherit pkgs; }; + bearclaw = pkgs.callPackage ./pkgs/bearclaw.nix { inherit pkgs; }; gqrss = pkgs.callPackage ./pkgs/gqrss.nix { inherit pkgs; isUnstable = true; diff --git a/pkgs/bearclaw.nix b/pkgs/bearclaw.nix new file mode 100644 index 0000000..5cc46ee --- /dev/null +++ b/pkgs/bearclaw.nix @@ -0,0 +1,22 @@ +{ lib, buildGoModule, fetchFromGitHub, ... }: +with lib; +buildGoModule rec { + pname = "bearclaw"; + version = "1.1.0"; + + src = fetchFromGitHub { + owner = "donuts-are-good"; + repo = pname; + rev = "${version}"; + sha256 = "sha256-AhqW+AAEBbAPJO0hnZnC5a/u4IKyLII6OWYEQzoX0C8="; + }; + + vendorSha256 = "sha256-7XFvghT411YE+Y9bYEFOKR655EaFS4GZiDzUYiYRbMY="; + + meta = { + description = "tiny static site generator"; + homepage = "https://github.com/donuts-are-good/bearclaw"; + license = licenses.mit; + maintainers = with maintainers; [ qbit ]; + }; +}