mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
perseus-cli: init at 0.3.0
This commit is contained in:
parent
93de1585ab
commit
29cf34c455
28
pkgs/development/tools/perseus-cli/default.nix
Normal file
28
pkgs/development/tools/perseus-cli/default.nix
Normal file
@ -0,0 +1,28 @@
|
||||
{ lib, rustPlatform, fetchCrate, makeWrapper, wasm-pack }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "perseus-cli";
|
||||
version = "0.3.0";
|
||||
|
||||
src = fetchCrate {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-YyQQjuxNUxuo2PFluGyT/CpG22tgjRCfmFKA5MFRgHo=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-SKxPsltXFH+ENexn/KDD43hGLSTgvtU9hv9Vdi2oeFA=";
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/perseus \
|
||||
--prefix PATH : "${lib.makeBinPath [ wasm-pack ]}"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://arctic-hen7.github.io/perseus";
|
||||
description = "A high-level web development framework for Rust with full support for server-side rendering and static generation";
|
||||
maintainers = with maintainers; [ max-niederman ];
|
||||
license = with licenses; [ mit ];
|
||||
mainProgram = "perseus";
|
||||
};
|
||||
}
|
@ -519,6 +519,8 @@ with pkgs;
|
||||
|
||||
packr = callPackage ../development/libraries/packr { };
|
||||
|
||||
perseus-cli = callPackage ../development/tools/perseus-cli { };
|
||||
|
||||
pet = callPackage ../development/tools/pet { };
|
||||
|
||||
pkger = callPackage ../development/libraries/pkger { };
|
||||
|
Loading…
Reference in New Issue
Block a user