python312Packages.icontract: relax deps (#380554)
[NixPkgs.git] / pkgs / by-name / ki / kickstart / package.nix
blobaa91fbfe5288af668167e4c14790b3fd72263b2d
2   lib,
3   rustPlatform,
4   fetchFromGitHub,
5   nix-update-script,
6   testers,
7   kickstart,
8 }:
10 rustPlatform.buildRustPackage rec {
11   pname = "kickstart";
12   version = "0.5.0";
14   src = fetchFromGitHub {
15     owner = "Keats";
16     repo = "kickstart";
17     rev = "v${version}";
18     hash = "sha256-4POxv6fIrp+wKb9V+6Y2YPx3FXp3hpnkq+62H9TwGII=";
19   };
21   useFetchCargoVendor = true;
22   cargoHash = "sha256-J9sGXJbGbO9UgZfgqxqzbiJz9j6WMpq3qC2ys7OJnII=";
24   checkFlags = [
25     # remote access
26     "--skip=generation::tests::can_generate_from_remote_repo_with_subdir"
27     "--skip=generation::tests::can_generate_from_remote_repo"
28   ];
30   passthru = {
31     updateScript = nix-update-script { };
32     tests.version = testers.testVersion {
33       package = kickstart;
34     };
35   };
37   meta = with lib; {
38     description = "Scaffolding tool to get new projects up and running quickly";
39     homepage = "https://github.com/Keats/kickstart";
40     changelog = "https://github.com/Keats/kickstart/releases/tag/v${version}";
41     license = licenses.mit;
42     maintainers = with maintainers; [ gaelreyrol ];
43     mainProgram = "kickstart";
44   };