twm: 0.10.2 -> 0.11.0, move to pkgs/by-name

This commit is contained in:
R. Ryantm 2024-09-28 10:28:09 +00:00 committed by Vinny Meller
parent 766fda1033
commit f6c3b3e8c9
No known key found for this signature in database
GPG Key ID: 36CBEC89D5C8540C
2 changed files with 5 additions and 9 deletions

View File

@ -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 \

View File

@ -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 { };