sad: refactor

This commit is contained in:
Fabian Affolter 2024-03-23 13:04:47 +01:00 committed by GitHub
parent c114ad3fb4
commit 6eac8d43d4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -10,8 +10,8 @@ rustPlatform.buildRustPackage rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ms-jpq"; owner = "ms-jpq";
repo = pname; repo = "sad";
rev = "v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-G+Mkyw7TNx5+fhnaOe3Fsb1JuafqckcZ83BTnuWUZBU="; hash = "sha256-G+Mkyw7TNx5+fhnaOe3Fsb1JuafqckcZ83BTnuWUZBU=";
}; };
@ -27,9 +27,10 @@ rustPlatform.buildRustPackage rec {
meta = with lib; { meta = with lib; {
description = "CLI tool to search and replace"; description = "CLI tool to search and replace";
mainProgram = "sad";
homepage = "https://github.com/ms-jpq/sad"; homepage = "https://github.com/ms-jpq/sad";
changelog = "https://github.com/ms-jpq/sad/releases/tag/v${version}";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ fab ]; maintainers = with maintainers; [ fab ];
mainProgram = "sad";
}; };
} }