aboutsummaryrefslogtreecommitdiff
path: root/packages/shotkey
diff options
context:
space:
mode:
Diffstat (limited to 'packages/shotkey')
-rw-r--r--packages/shotkey/pkg.nix18
m---------packages/shotkey/source0
2 files changed, 18 insertions, 0 deletions
diff --git a/packages/shotkey/pkg.nix b/packages/shotkey/pkg.nix
new file mode 100644
index 0000000..3a9eea7
--- /dev/null
+++ b/packages/shotkey/pkg.nix
@@ -0,0 +1,18 @@
+{ stdenv, libX11 }:
+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/source b/packages/shotkey/source
new file mode 160000
+Subproject 299bd436635cb1a4d7877bac50b482d32fccffe