aboutsummaryrefslogtreecommitdiffhomepage
path: root/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'package.nix')
-rw-r--r--package.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/package.nix b/package.nix
new file mode 100644
index 00000000..4445d2cb
--- /dev/null
+++ b/package.nix
@@ -0,0 +1,25 @@
+{
+ acl,
+ xorg,
+ buildGoModule,
+}:
+
+buildGoModule rec {
+ pname = "fortify";
+ version = "1.0.3";
+
+ src = ./.;
+ vendorHash = null;
+
+ ldflags = [
+ "-s"
+ "-w"
+ "-X"
+ "main.Version=v${version}"
+ ];
+
+ buildInputs = [
+ acl
+ xorg.libxcb
+ ];
+}