apkeep: add changelog to meta
This commit is contained in:
parent
d4d8f9e018
commit
d4dd76f46c
1 changed files with 18 additions and 4 deletions
|
@ -1,4 +1,11 @@
|
||||||
{ lib, stdenv, fetchCrate, rustPlatform, openssl, pkg-config, Security }:
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchCrate
|
||||||
|
, rustPlatform
|
||||||
|
, openssl
|
||||||
|
, pkg-config
|
||||||
|
, Security
|
||||||
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "apkeep";
|
pname = "apkeep";
|
||||||
|
@ -6,7 +13,7 @@ rustPlatform.buildRustPackage rec {
|
||||||
|
|
||||||
src = fetchCrate {
|
src = fetchCrate {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "sha256-PikUb9D9duMATo9hJgjuZUK3WXUKfnCDWJBE/bJI92c=";
|
hash = "sha256-PikUb9D9duMATo9hJgjuZUK3WXUKfnCDWJBE/bJI92c=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoHash = "sha256-R58CzeI1Xho6kzjb9ktO7sr6TgM3Hf2VU0pK4hmb1v4=";
|
cargoHash = "sha256-R58CzeI1Xho6kzjb9ktO7sr6TgM3Hf2VU0pK4hmb1v4=";
|
||||||
|
@ -15,13 +22,20 @@ rustPlatform.buildRustPackage rec {
|
||||||
rm .cargo/config.toml
|
rm .cargo/config.toml
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [
|
||||||
|
pkg-config
|
||||||
|
];
|
||||||
|
|
||||||
buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security ];
|
buildInputs = [
|
||||||
|
openssl
|
||||||
|
] ++ lib.optionals stdenv.isDarwin [
|
||||||
|
Security
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A command-line tool for downloading APK files from various sources";
|
description = "A command-line tool for downloading APK files from various sources";
|
||||||
homepage = "https://github.com/EFForg/apkeep";
|
homepage = "https://github.com/EFForg/apkeep";
|
||||||
|
changelog = "https://github.com/EFForg/apkeep/blob/${version}/CHANGELOG.md";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ jyooru ];
|
maintainers = with maintainers; [ jyooru ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue