numbat: 1.13.0 -> 1.14.0 (#351115)
This commit is contained in:
@@ -1,34 +1,26 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, testers
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, rustPlatform
|
||||
, darwin
|
||||
, numbat
|
||||
, tzdata
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
testers,
|
||||
fetchFromGitHub,
|
||||
rustPlatform,
|
||||
darwin,
|
||||
numbat,
|
||||
tzdata,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "numbat";
|
||||
version = "1.13.0";
|
||||
version = "1.14.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "sharkdp";
|
||||
repo = "numbat";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-o3EYhMFBgs/Ni+YCM3+RdUYlwRt+nMaEP/cAkDXMVHc=";
|
||||
hash = "sha256-TmzM541S2W5Cy8zHEWKRE2Zj2bSgrM4vbsWw3zbi3LQ=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-rK9RPd/hww2F87l/dd14pB4izE58NuqaewYaqMimV1M=";
|
||||
|
||||
patches = [
|
||||
# https://github.com/sharkdp/numbat/pull/562
|
||||
(fetchpatch {
|
||||
url = "https://github.com/sharkdp/numbat/commit/4756a1989ecdab35fd05ca18c721ed15d8cde2b1.patch";
|
||||
hash = "sha256-22+yePjy+MxJQ60EdvgaTw/IVV0d/wS2Iqza1p1xmfk=";
|
||||
})
|
||||
];
|
||||
cargoHash = "sha256-exvJJsGIj6KhmMcwhPjXMELvisuUtl17BAO6XEJSJmI=";
|
||||
|
||||
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
darwin.apple_sdk.frameworks.Security
|
||||
@@ -60,9 +52,15 @@ rustPlatform.buildRustPackage rec {
|
||||
'';
|
||||
homepage = "https://numbat.dev";
|
||||
changelog = "https://github.com/sharkdp/numbat/releases/tag/v${version}";
|
||||
license = with licenses; [ asl20 mit ];
|
||||
license = with licenses; [
|
||||
asl20
|
||||
mit
|
||||
];
|
||||
mainProgram = "numbat";
|
||||
maintainers = with maintainers; [ giomf atemu ];
|
||||
maintainers = with maintainers; [
|
||||
giomf
|
||||
atemu
|
||||
];
|
||||
# Failing tests on Darwin.
|
||||
broken = stdenv.isDarwin;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user