diff options
author | Ethan Edwards <ethan@ethancedwards.com> | 2021-06-21 07:52:56 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-21 13:52:56 +0200 |
commit | 44f27213f18b95a9a024841c22da5d7f0c6537f7 (patch) | |
tree | 9e35787877039e360303db13441b49e9f07950ee /pkgs/applications/misc/cobalt | |
parent | 3a111c3df09f10b2ca6565f7c06db31c29982bbe (diff) |
cobalt: init at 0.16.5 (#127624)
* cobalt: init at 0.16.5 * Update pkgs/applications/misc/cobalt/default.nix Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Diffstat (limited to 'pkgs/applications/misc/cobalt')
-rw-r--r-- | pkgs/applications/misc/cobalt/default.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/applications/misc/cobalt/default.nix b/pkgs/applications/misc/cobalt/default.nix new file mode 100644 index 0000000000000..a9ccc6a8f8706 --- /dev/null +++ b/pkgs/applications/misc/cobalt/default.nix @@ -0,0 +1,22 @@ +{ lib, stdenv, fetchFromGitHub, rustPlatform }: + +rustPlatform.buildRustPackage rec { + pname = "cobalt"; + version = "0.16.5"; + + src = fetchFromGitHub { + owner = "cobalt-org"; + repo = "cobalt.rs"; + rev = "v${version}"; + sha256 = "wSvjPifnA8oc0vVmHBMdsMKzX7Gg6TdbPzIXl/SHqn8="; + }; + + cargoSha256 = "27LcoGBI4elt80uQkTwvToOyEmd2+/3ma5Y32OFrJaw="; + + 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 ]; + }; +} |