From de9bf557748b9e78f6c434b8fe7f704a22e12099 Mon Sep 17 00:00:00 2001 From: Eric Norris Date: Wed, 3 Jul 2019 11:13:22 -0400 Subject: [PATCH] smimesign: init at v0.0.13 --- pkgs/os-specific/darwin/smimesign/default.nix | 26 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 28 insertions(+) create mode 100644 pkgs/os-specific/darwin/smimesign/default.nix diff --git a/pkgs/os-specific/darwin/smimesign/default.nix b/pkgs/os-specific/darwin/smimesign/default.nix new file mode 100644 index 000000000000..b18c603a911b --- /dev/null +++ b/pkgs/os-specific/darwin/smimesign/default.nix @@ -0,0 +1,26 @@ +{ buildGoModule, fetchFromGitHub, lib }: + +buildGoModule rec { + name = "smimesign-${version}"; + version = "v0.0.13"; + + src = fetchFromGitHub { + owner = "github"; + repo = "smimesign"; + rev = version; + sha256 = "0higcg2rdz02c0n50vigg7w7bxc7wlmg1x2ygrbh3iwms5lc74vi"; + }; + + modSha256 = "1k3gnjzblfk14y19zhlvwysx045nbw0xr5nngh7zj1wcqxhhm206"; + + buildFlagsArray = "-ldflags=-X main.versionString=${version}"; + + meta = with lib; { + description = "An S/MIME signing utility for macOS and Windows that is compatible with Git."; + + homepage = https://github.com/github/smimesign; + license = licenses.mit; + platforms = platforms.darwin; + maintainers = [ maintainers.enorris ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 8b282bcccfb4..cea90ba25284 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -15956,6 +15956,8 @@ in smem = callPackage ../os-specific/linux/smem { }; + smimesign = callPackage ../os-specific/darwin/smimesign { }; + speedometer = callPackage ../os-specific/linux/speedometer { }; statik = callPackage ../development/tools/statik { };