14 rustPlatform.buildRustPackage rec {
21 hash = "sha256-49I09hXYoVo6vzv1b6mkeiFwzfj6g1SkXTL/tCEdOYc=";
24 cargoHash = "sha256-trmWeYJNev7jYJtGp9XR/emmQiiI94NM0cPFrAuD7m0=";
26 nativeBuildInputs = [ pkg-config installShellFiles nix ];
28 buildInputs = lib.optionals stdenv.hostPlatform.isLinux [
30 ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
37 installShellCompletion --cmd nixci \
38 --bash <($out/bin/nixci completion bash) \
39 --fish <($out/bin/nixci completion fish) \
40 --zsh <($out/bin/nixci completion zsh)
43 # The rust program expects an environment (at build time) that points to the
45 env.DEVOUR_FLAKE = fetchFromGitHub {
47 repo = "devour-flake";
49 hash = "sha256-Vey9n9hIlWiSAZ6CCTpkrL6jt4r2JvT2ik9wa2bjeC0=";
53 description = "Define and build CI for Nix projects anywhere";
54 homepage = "https://github.com/srid/nixci";
55 license = licenses.agpl3Only;
56 maintainers = with maintainers; [ srid shivaraj-bh rsrohitsingh682 ];
57 mainProgram = "nixci";