mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-23 12:34:15 +00:00
twm: 0.10.2 -> 0.11.0, move to pkgs/by-name
This commit is contained in:
parent
766fda1033
commit
f6c3b3e8c9
@ -1,29 +1,29 @@
|
||||
{ lib
|
||||
, darwin
|
||||
, fetchFromGitHub
|
||||
, stdenv
|
||||
, rustPlatform
|
||||
, openssl
|
||||
, pkg-config
|
||||
, Security
|
||||
, nix-update-script
|
||||
, installShellFiles
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "twm";
|
||||
version = "0.10.2";
|
||||
version = "0.11.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "vinnymeller";
|
||||
repo = "twm";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-qOOEeaxae7nYbvNzl3BEZkdjO69lgtGrrLS5Q7akN9U=";
|
||||
hash = "sha256-SiwLqUq/gC8Tr31jjblLc9YP4yBi9HL38W83kgh7eJI=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-gJ5go9V8c97pQZICUD1ksLJhOyJXyVXAWssH3fhrRVQ=";
|
||||
cargoHash = "sha256-BjQ7dDXHzX+O/V328TTwl9wGtpOq+NjOMRiZwb9O7ZU=";
|
||||
|
||||
nativeBuildInputs = [ pkg-config installShellFiles ];
|
||||
buildInputs = [ openssl ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ Security ];
|
||||
buildInputs = [ openssl ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ darwin.apple_sdk.frameworks.Security ];
|
||||
|
||||
postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
|
||||
installShellCompletion --cmd twm \
|
@ -13198,10 +13198,6 @@ with pkgs;
|
||||
|
||||
ttylog = callPackage ../tools/misc/ttylog { };
|
||||
|
||||
twm = callPackage ../tools/misc/twm {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
ipbt = callPackage ../tools/misc/ipbt { };
|
||||
|
||||
tuckr = callPackage ../applications/misc/tuckr { };
|
||||
|
Loading…
Reference in New Issue
Block a user