Merge pull request #244963 from figsoda/rtz
This commit is contained in:
commit
5b938b4b28
3092
pkgs/tools/misc/rtz/Cargo.lock
generated
Normal file
3092
pkgs/tools/misc/rtz/Cargo.lock
generated
Normal file
File diff suppressed because it is too large
Load diff
43
pkgs/tools/misc/rtz/default.nix
Normal file
43
pkgs/tools/misc/rtz/default.nix
Normal file
|
@ -0,0 +1,43 @@
|
|||
{ lib
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, stdenv
|
||||
, darwin
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "rtz";
|
||||
version = "0.3.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "twitchax";
|
||||
repo = "rtz";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-0RR6Tz9ic8ockfnMW//PQZ1XkZOD46aWgdLY4AXmBT0=";
|
||||
};
|
||||
|
||||
cargoLock = {
|
||||
lockFile = ./Cargo.lock;
|
||||
outputHashes = {
|
||||
"bincode-2.0.0-rc.3" = "sha256-YCoTnIKqRObeyfTanjptTYeD9U2b2c+d4CJFWIiGckI=";
|
||||
};
|
||||
};
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [
|
||||
darwin.apple_sdk.frameworks.Security
|
||||
];
|
||||
|
||||
buildFeatures = [ "web" ];
|
||||
|
||||
env = {
|
||||
# requires nightly features
|
||||
RUSTC_BOOTSTRAP = true;
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "A tool to easily work with time zones via a binary, a library, or a server";
|
||||
homepage = "https://github.com/twitchax/rtz";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ figsoda ];
|
||||
};
|
||||
}
|
|
@ -12475,6 +12475,8 @@ with pkgs;
|
|||
|
||||
rsstail = callPackage ../applications/networking/feedreaders/rsstail { };
|
||||
|
||||
rtz = callPackage ../tools/misc/rtz { };
|
||||
|
||||
rubber = callPackage ../tools/typesetting/rubber { };
|
||||
|
||||
rubocop = rubyPackages.rubocop;
|
||||
|
|
Loading…
Reference in a new issue