1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 04:02:10 +00:00

Merge pull request #204640 from figsoda/the-way

the-way: 0.17.1 -> 0.18.0, add figsoda as a maintainer, use nextest
This commit is contained in:
Jörg Thalheim 2022-12-05 15:57:51 +00:00 committed by GitHub
commit fb846e4cd8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 15 deletions

View file

@ -1,23 +1,23 @@
{ lib, stdenv, fetchFromGitHub, rustPlatform, installShellFiles, AppKit, Security }:
{ lib, rustPlatform, fetchCrate, installShellFiles, stdenv, darwin }:
rustPlatform.buildRustPackage rec {
pname = "the-way";
version = "0.17.1";
version = "0.18.0";
src = fetchFromGitHub {
owner = "out-of-cheese-error";
repo = pname;
rev = "v${version}";
sha256 = "sha256-Imo1CUk2H4/K9w/FnIBEkKFXd7OIAuApejcNY+rs7JU=";
src = fetchCrate {
inherit pname version;
sha256 = "sha256-UgD9ulJtRlNuux80FQhgLYjJ6OsyWXZCBGY9qdmd9Jk=";
};
cargoSha256 = "sha256-z5+71I/q1+vz2CPAU06yjRSjpKyT6npjPi48lu21NZs=";
nativeBuildInputs = [ installShellFiles ];
buildInputs = lib.optionals stdenv.isDarwin [ AppKit Security ];
buildInputs = lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.AppKit
];
cargoSha256 = "sha256-3ZiNRXrb3gpXXOxztf0eimJE16PpQTD/OWFmeTDIr2w=";
checkFlagsArray = lib.optionals stdenv.isDarwin [ "--skip=copy" ];
dontUseCargoParallelTests = true;
useNextest = true;
postInstall = ''
$out/bin/the-way config default tmp.toml
@ -30,7 +30,8 @@ rustPlatform.buildRustPackage rec {
meta = with lib; {
description = "Terminal code snippets manager";
homepage = "https://github.com/out-of-cheese-error/the-way";
changelog = "https://github.com/out-of-cheese-error/the-way/blob/v${version}/CHANGELOG.md";
license = with licenses; [ mit ];
maintainers = with maintainers; [ numkem ];
maintainers = with maintainers; [ figsoda numkem ];
};
}

View file

@ -6635,9 +6635,7 @@ with pkgs;
teamocil = callPackage ../tools/misc/teamocil { };
the-way = callPackage ../development/tools/the-way {
inherit (darwin.apple_sdk.frameworks) AppKit Security;
};
the-way = callPackage ../development/tools/the-way { };
timeline = callPackage ../applications/office/timeline { };