Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion pkgs/applications/version-management/glitter/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, rustPlatform, fetchFromGitHub }:
{ lib, rustPlatform, fetchFromGitHub, git }:

rustPlatform.buildRustPackage rec {
pname = "glitter";
Expand All @@ -13,6 +13,10 @@ rustPlatform.buildRustPackage rec {

cargoSha256 = "sha256-GQ7Bns+FPj4jl2dBXnMrmcKIYcZTLZc1WvaHgKGj/gU=";

checkInputs = [
git
];

# tests require it to be in a git repository
preCheck = ''
git init
Expand All @@ -24,6 +28,7 @@ rustPlatform.buildRustPackage rec {
meta = with lib; {
description = "A git wrapper that allows you to compress multiple commands into one";
homepage = "https://github.com/milo123459/glitter";
changelog = "https://github.com/Milo123459/glitter/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ figsoda ];
};
Expand Down