diff --git a/pkgs/applications/misc/gutenberg/default.nix b/pkgs/applications/misc/gutenberg/default.nix new file mode 100644 index 0000000000000..53bd9fcc8e324 --- /dev/null +++ b/pkgs/applications/misc/gutenberg/default.nix @@ -0,0 +1,26 @@ +{ stdenv, fetchFromGitHub, rustPlatform, cmake }: + +with rustPlatform; + +buildRustPackage rec { + name = "gutenberg-${version}"; + version = "0.2.1"; + + src = fetchFromGitHub { + owner = "Keats"; + repo = "gutenberg"; + rev = "v${version}"; + sha256 = "0mc9wxwv8lk4l2yghqfvgv25bb2mly7dllfm31gm94kpmm4kkh8k"; + }; + + cargoSha256 = "0mjxyfx923ynxjanc3qp24w7rg44gk2z4fnfwzkqza40r02nfwnf"; + + buildInputs = [ cmake ]; + + meta = with stdenv.lib; { + description = "An opinionated static site generator with everything built-in"; + homepage = https://www.getgutenberg.io/; + license = licenses.mit; + platforms = platforms.all; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 74ef6e0f3f293..93e6ebe05cda2 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -14966,6 +14966,8 @@ with pkgs; gv = callPackage ../applications/misc/gv { }; + gutenberg = callPackage ../applications/misc/gutenberg { }; + guvcview = callPackage ../os-specific/linux/guvcview { pulseaudioSupport = config.pulseaudio or true; ffmpeg = ffmpeg_2;