mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-28 05:10:46 +00:00
rates: refactor
- use hash - add changelog to meta
This commit is contained in:
parent
08061fddcc
commit
ece89eabe5
@ -11,9 +11,9 @@ rustPlatform.buildRustPackage rec {
|
|||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "lunush";
|
owner = "lunush";
|
||||||
repo = pname;
|
repo = "rates";
|
||||||
rev = version;
|
rev = "refs/tags/${version}";
|
||||||
sha256 = "sha256-zw2YLTrvqbGKR8Dg5W+kJTDKIfro+MNyjHXfZMXZhaw=";
|
hash = "sha256-zw2YLTrvqbGKR8Dg5W+kJTDKIfro+MNyjHXfZMXZhaw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoHash = "sha256-5EcTeMfa1GNp1q60qSgEi/I3298hXUD1Vc1K55XGW4I=";
|
cargoHash = "sha256-5EcTeMfa1GNp1q60qSgEi/I3298hXUD1Vc1K55XGW4I=";
|
||||||
@ -23,6 +23,7 @@ rustPlatform.buildRustPackage rec {
|
|||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "CLI tool that brings currency exchange rates right into your terminal";
|
description = "CLI tool that brings currency exchange rates right into your terminal";
|
||||||
homepage = "https://github.com/lunush/rates";
|
homepage = "https://github.com/lunush/rates";
|
||||||
|
changelog = "https://github.com/lunush/rates/releases/tag/${version}";
|
||||||
license = with licenses; [ asl20 /* or */ mit ];
|
license = with licenses; [ asl20 /* or */ mit ];
|
||||||
maintainers = with maintainers; [ fab ];
|
maintainers = with maintainers; [ fab ];
|
||||||
mainProgram = "rates";
|
mainProgram = "rates";
|
||||||
|
Loading…
Reference in New Issue
Block a user