Skip to content

Commit

Permalink
rip2: init at 0.9.0
Browse files Browse the repository at this point in the history
Co-authored-by: Aleksana <[email protected]>
  • Loading branch information
MilesCranmer and Aleksanaa committed Nov 8, 2024
1 parent 654de93 commit f3677c3
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
6 changes: 6 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
35 changes: 35 additions & 0 deletions pkgs/by-name/ri/rip2/package.nix
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";
};
}

0 comments on commit f3677c3

Please sign in to comment.