mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 03:30:45 +00:00
rip2: init at 0.9.0 (#353742)
This commit is contained in:
commit
f00828002c
|
@ -14275,6 +14275,12 @@
|
|||
githubId = 38543128;
|
||||
name = "Miles Breslin";
|
||||
};
|
||||
milescranmer = {
|
||||
email = "miles.cranmer@gmail.com";
|
||||
github = "MilesCranmer";
|
||||
githubId = 7593028;
|
||||
name = "Miles Cranmer";
|
||||
};
|
||||
milibopp = {
|
||||
email = "contact@ebopp.de";
|
||||
github = "milibopp";
|
||||
|
|
36
pkgs/by-name/ri/rip2/package.nix
Normal file
36
pkgs/by-name/ri/rip2/package.nix
Normal file
|
@ -0,0 +1,36 @@
|
|||
{
|
||||
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 ];
|
||||
versionCheckProgram = "${placeholder "out"}/bin/rip";
|
||||
|
||||
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";
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue