bacon: add changelog to meta
This commit is contained in:
parent
2dfa389617
commit
8fc3a165ee
1 changed files with 13 additions and 5 deletions
|
@ -1,4 +1,9 @@
|
||||||
{ lib, stdenv, rustPlatform, fetchFromGitHub, CoreServices }:
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, rustPlatform
|
||||||
|
, fetchFromGitHub
|
||||||
|
, CoreServices
|
||||||
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "bacon";
|
pname = "bacon";
|
||||||
|
@ -7,18 +12,21 @@ rustPlatform.buildRustPackage rec {
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Canop";
|
owner = "Canop";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
sha256 = "sha256-vmvv08cAYNfzlHXrCwfL37U39TS8VQIOJGMgDHc99ME=";
|
hash = "sha256-vmvv08cAYNfzlHXrCwfL37U39TS8VQIOJGMgDHc99ME=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoHash = "sha256-2HR0ClsbCjHiZKmPJkv3NnJyDmdR1rw+TD7UuHLk1Sg=";
|
cargoHash = "sha256-2HR0ClsbCjHiZKmPJkv3NnJyDmdR1rw+TD7UuHLk1Sg=";
|
||||||
|
|
||||||
buildInputs = lib.optional stdenv.isDarwin CoreServices;
|
buildInputs = lib.optional stdenv.isDarwin [
|
||||||
|
CoreServices
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Background rust code checker";
|
description = "Background rust code checker";
|
||||||
homepage = "https://github.com/Canop/bacon";
|
homepage = "https://github.com/Canop/bacon";
|
||||||
|
changelog = "https://github.com/Canop/bacon/blob/v${version}/CHANGELOG.md";
|
||||||
license = licenses.agpl3Only;
|
license = licenses.agpl3Only;
|
||||||
maintainers = [ maintainers.FlorianFranzen ];
|
maintainers = with maintainers; [ FlorianFranzen ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue