nixpkgs-suyu/pkgs/tools/text/sad/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
557 B
Nix
Raw Normal View History

2021-09-04 10:18:48 +02:00
{ lib
, fetchFromGitHub
, rustPlatform
}:
rustPlatform.buildRustPackage rec {
pname = "sad";
2022-02-13 05:42:27 +01:00
version = "0.4.20";
2021-09-04 10:18:48 +02:00
src = fetchFromGitHub {
owner = "ms-jpq";
repo = pname;
rev = "v${version}";
2022-02-13 05:42:27 +01:00
sha256 = "sha256-BhkSqXiQPOSYnCXqjAqenKx3DextxPluqsTAMI4Xs7g=";
2021-09-04 10:18:48 +02:00
};
2022-02-13 05:42:27 +01:00
cargoSha256 = "sha256-aKTF0DH8Lf/H6OfQPuQ6yGOmUEUguYcHMCuYKIjNR9k=";
2021-09-04 10:18:48 +02:00
meta = with lib; {
description = "CLI tool to search and replace";
homepage = "https://github.com/ms-jpq/sad";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}