television: 0.11.6 -> 0.11.7
Changelog: https://github.com/alexpasmantier/television/releases/tag/0.11.7 Diff: https://github.com/alexpasmantier/television/compare/0.11.6...0.11.7 switch to use `finalAttrs` pattern
This commit is contained in:
@@ -6,19 +6,19 @@
|
||||
television,
|
||||
nix-update-script,
|
||||
}:
|
||||
rustPlatform.buildRustPackage rec {
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "television";
|
||||
version = "0.11.6";
|
||||
version = "0.11.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "alexpasmantier";
|
||||
repo = "television";
|
||||
tag = version;
|
||||
hash = "sha256-wfIzmk4mCSdfSAJP2DcnpuQAg62m6CfynmxoH580k9A=";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-cxbg7ic/LzQPfq5VFr9iSaEfL3SF1Aca1/SfXWCOTQo=";
|
||||
};
|
||||
|
||||
useFetchCargoVendor = true;
|
||||
cargoHash = "sha256-C/umcbD/wb+Bz9Qbp7gx70Cr5blcXgEqsIfLKefZrrY=";
|
||||
cargoHash = "sha256-T8m/B95PoKeIR7A8Kh6j1sicYlaUk6pb4os+XxC356U=";
|
||||
|
||||
passthru = {
|
||||
tests.version = testers.testVersion {
|
||||
@@ -37,7 +37,7 @@ rustPlatform.buildRustPackage rec {
|
||||
fuzzy matching algorithm and is designed to be easily extensible.
|
||||
'';
|
||||
homepage = "https://github.com/alexpasmantier/television";
|
||||
changelog = "https://github.com/alexpasmantier/television/releases/tag/${version}";
|
||||
changelog = "https://github.com/alexpasmantier/television/releases/tag/${finalAttrs.version}";
|
||||
license = lib.licenses.mit;
|
||||
mainProgram = "tv";
|
||||
maintainers = with lib.maintainers; [
|
||||
@@ -45,4 +45,4 @@ rustPlatform.buildRustPackage rec {
|
||||
getchoo
|
||||
];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user