From 912fde1c17ee143d805cc7798801b6952dcf8576 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Sun, 20 Dec 2020 19:26:38 +0530 Subject: Creates derivation for shotkey --- packages/shotkey/pkg.nix | 18 ++++++++++++++++++ packages/shotkey/shotkey.tar.gz | Bin 0 -> 59195 bytes packages/shotkey/source | 1 + 3 files changed, 19 insertions(+) create mode 100644 packages/shotkey/pkg.nix create mode 100644 packages/shotkey/shotkey.tar.gz create mode 160000 packages/shotkey/source (limited to 'packages/shotkey') diff --git a/packages/shotkey/pkg.nix b/packages/shotkey/pkg.nix new file mode 100644 index 0000000..eb21186 --- /dev/null +++ b/packages/shotkey/pkg.nix @@ -0,0 +1,18 @@ +{ stdenv, libX11, libXinerama, libXft }: +with stdenv.lib; + +stdenv.mkDerivation rec { + name = "local-shotkey-${version}"; + version = "0.1.0"; + + src = ./source; + + buildInputs = [ libX11 ]; + + + unpackPhase = ''cp -r $src/* .''; + + buildPhase = ''make''; + + installPhase = ''make PREFIX=$out DESTDIR="" install''; +} diff --git a/packages/shotkey/shotkey.tar.gz b/packages/shotkey/shotkey.tar.gz new file mode 100644 index 0000000..2e30be2 Binary files /dev/null and b/packages/shotkey/shotkey.tar.gz differ diff --git a/packages/shotkey/source b/packages/shotkey/source new file mode 160000 index 0000000..299bd43 --- /dev/null +++ b/packages/shotkey/source @@ -0,0 +1 @@ +Subproject commit 299bd436635cb1a4d7877bac50b482d32fccffe8 -- cgit v1.3.1