mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 18:33:00 +00:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
26 lines
690 B
Nix
26 lines
690 B
Nix
{ lib, stdenv, fetchFromGitHub, rustPlatform, Security }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "ruplacer";
|
|
version = "0.8.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "TankerHQ";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-rndWKi/EDQzTWAw2deddhTXdmIfuEVM54MOfS4mNf+Y=";
|
|
};
|
|
|
|
cargoHash = "sha256-DkhmMdpUcka6Wkyz6hEfqB2gUpsGNziGv+23rVfwXN8=";
|
|
|
|
buildInputs = (lib.optional stdenv.isDarwin Security);
|
|
|
|
meta = with lib; {
|
|
description = "Find and replace text in source files";
|
|
mainProgram = "ruplacer";
|
|
homepage = "https://github.com/TankerHQ/ruplacer";
|
|
license = [ licenses.bsd3 ];
|
|
maintainers = with maintainers; [ Br1ght0ne ];
|
|
};
|
|
}
|