mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-04 19:24:20 +00:00
sad: refactor
This commit is contained in:
parent
c114ad3fb4
commit
6eac8d43d4
@ -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";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user