94427deb9d
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
25 lines
714 B
Nix
25 lines
714 B
Nix
{ lib, stdenv, fetchFromGitHub, rustPlatform, CoreServices }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "cobalt";
|
|
version = "0.18.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "cobalt-org";
|
|
repo = "cobalt.rs";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-O7qFpp7Xr6K82o/KUMP0J5y2B32op+QBGUXo9Q5R5LQ=";
|
|
};
|
|
|
|
cargoHash = "sha256-ZBAF4BqQ+JMZ3Rpg2RxUhhVvPE5pN68qljVl0o2/VNA=";
|
|
|
|
buildInputs = lib.optionals stdenv.isDarwin [ CoreServices ];
|
|
|
|
meta = with lib; {
|
|
description = "Static site generator written in Rust";
|
|
homepage = "https://github.com/cobalt-org/cobalt.rs/";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ ethancedwards8 ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|