riff: init at 1.0.3
This commit is contained in:
parent
506d6390a3
commit
50ebb3bad8
46
pkgs/development/tools/misc/riff/default.nix
Normal file
46
pkgs/development/tools/misc/riff/default.nix
Normal file
|
@ -0,0 +1,46 @@
|
|||
{ lib
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, makeWrapper
|
||||
, pkg-config
|
||||
, openssl
|
||||
, stdenv
|
||||
, darwin
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "riff";
|
||||
version = "1.0.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "DeterminateSystems";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-ThHkEvu+lWojHmEgcrwdZDPROfxznB7vv78msyZf90A=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-knA08KqjtI2FZUbllfVETxDqi/r4Gf3VuLE17JujTzc=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
makeWrapper
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
openssl
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
darwin.apple_sdk.frameworks.Security
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/riff --set-default RIFF_DISABLE_TELEMETRY true
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A tool that automatically provides external dependencies for software projects";
|
||||
homepage = "https://riff.sh";
|
||||
changelog = "https://github.com/DeterminateSystems/riff/releases/tag/v${version}";
|
||||
license = licenses.mpl20;
|
||||
maintainers = with maintainers; [ figsoda ];
|
||||
};
|
||||
}
|
|
@ -18104,6 +18104,8 @@ with pkgs;
|
|||
|
||||
revive = callPackage ../development/tools/revive { };
|
||||
|
||||
riff = callPackage ../development/tools/misc/riff { };
|
||||
|
||||
rman = callPackage ../development/tools/misc/rman { };
|
||||
|
||||
rnginline = with python3Packages; toPythonApplication rnginline;
|
||||
|
|
Loading…
Reference in a new issue