3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #193064 from figsoda/fw

fw: init at 2.16.1
This commit is contained in:
figsoda 2022-09-27 16:34:50 -04:00 committed by GitHub
commit 85f1c48457
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 43 additions and 0 deletions

View file

@ -0,0 +1,39 @@
{ lib
, rustPlatform
, fetchFromGitHub
, pkg-config
, libgit2
, openssl
, stdenv
, Security
}:
rustPlatform.buildRustPackage rec {
pname = "fw";
version = "2.16.1";
src = fetchFromGitHub {
owner = "brocode";
repo = pname;
rev = "v${version}";
sha256 = "1nhkirjq2q9sxg4k2scy8vxlqa9ikvr5lid0f22vws07vif4kkfs";
};
cargoSha256 = "sha256-iD3SBSny0mYpmVEInYaylHn0AbtIqTOwJHdFeq3UBaM=";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ libgit2 openssl ] ++ lib.optionals stdenv.isDarwin [
Security
];
OPENSSL_NO_VENDOR = 1;
USER = "nixbld";
meta = with lib; {
description = "A workspace productivity booster";
homepage = "https://github.com/brocode/fw";
license = licenses.wtfpl;
maintainers = with maintainers; [ figsoda ];
};
}

View file

@ -1508,6 +1508,10 @@ with pkgs;
fuse-emulator = callPackage ../applications/emulators/fuse-emulator {};
fw = callPackage ../tools/misc/fw {
inherit (darwin.apple_sdk.frameworks) Security;
};
gcdemu = callPackage ../applications/emulators/cdemu/gui.nix { };
gensgs = pkgsi686Linux.callPackage ../applications/emulators/gens-gs { };