aboutsummaryrefslogtreecommitdiff
path: root/packages/shotkey
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2020-12-20 19:26:38 +0530
committerAkshay Nair <phenax5@gmail.com>2020-12-20 19:26:38 +0530
commit912fde1c17ee143d805cc7798801b6952dcf8576 (patch)
tree2ddfa5dd42948b35a4b5a8c63205c165fb78fc2e /packages/shotkey
parent43586a11fb56e5d3555e92ac67252c8ccd8341f8 (diff)
downloadnixos-config-912fde1c17ee143d805cc7798801b6952dcf8576.tar.gz
nixos-config-912fde1c17ee143d805cc7798801b6952dcf8576.zip
Creates derivation for shotkey
Diffstat (limited to '')
-rw-r--r--packages/shotkey/pkg.nix18
-rw-r--r--packages/shotkey/shotkey.tar.gzbin0 -> 59195 bytes
m---------packages/shotkey/source0
3 files changed, 18 insertions, 0 deletions
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
--- /dev/null
+++ b/packages/shotkey/shotkey.tar.gz
Binary files differ
diff --git a/packages/shotkey/source b/packages/shotkey/source
new file mode 160000
+Subproject 299bd436635cb1a4d7877bac50b482d32fccffe