-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Aleksana <[email protected]>
- Loading branch information
1 parent
654de93
commit f3677c3
Showing
2 changed files
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14244,6 +14244,12 @@ | |
githubId = 38543128; | ||
name = "Miles Breslin"; | ||
}; | ||
milescranmer = { | ||
email = "[email protected]"; | ||
github = "MilesCranmer"; | ||
githubId = 7593028; | ||
name = "Miles Cranmer"; | ||
}; | ||
milibopp = { | ||
email = "[email protected]"; | ||
github = "milibopp"; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
lib, | ||
rustPlatform, | ||
fetchFromGitHub, | ||
versionCheckHook, | ||
}: | ||
|
||
rustPlatform.buildRustPackage rec { | ||
pname = "rip2"; | ||
version = "0.9.0"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "MilesCranmer"; | ||
repo = "rip2"; | ||
rev = "v${version}"; | ||
hash = "sha256-9leLWfPilDQHzQRzTUjAFt9olTPEL4GcQgYFWZu3dug="; | ||
}; | ||
|
||
cargoHash = "sha256-l6rbeiyIsr1csBcp+428TpQYSs9RvfJutGoL/wtSGR8="; | ||
|
||
# TODO: Unsure why this test fails, but not a major issue so | ||
# skipping for now. | ||
checkFlags = [ "--skip=test_filetypes::file_type_3___fifo__" ]; | ||
|
||
doInstallCheck = true; | ||
nativeInstallCheckInputs = [ versionCheckHook ]; | ||
|
||
meta = { | ||
description = "Safe and ergonomic alternative to rm"; | ||
homepage = "https://github.com/MilesCranmer/rip2"; | ||
license = lib.licenses.gpl3Plus; | ||
maintainers = with lib.maintainers; [ milescranmer ]; | ||
mainProgram = "rip"; | ||
}; | ||
} |