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:
commit
fb846e4cd8
|
@ -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 ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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 { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue