diff options
| author | Akshay Nair <phenax5@gmail.com> | 2020-12-20 19:26:38 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2020-12-20 19:26:38 +0530 |
| commit | 912fde1c17ee143d805cc7798801b6952dcf8576 (patch) | |
| tree | 2ddfa5dd42948b35a4b5a8c63205c165fb78fc2e /packages | |
| parent | 43586a11fb56e5d3555e92ac67252c8ccd8341f8 (diff) | |
| download | nixos-config-912fde1c17ee143d805cc7798801b6952dcf8576.tar.gz nixos-config-912fde1c17ee143d805cc7798801b6952dcf8576.zip | |
Creates derivation for shotkey
Diffstat (limited to 'packages')
| -rw-r--r-- | packages/shotkey/pkg.nix | 18 | ||||
| -rw-r--r-- | packages/shotkey/shotkey.tar.gz | bin | 0 -> 59195 bytes | |||
| m--------- | packages/shotkey/source | 0 |
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 Binary files differnew file mode 100644 index 0000000..2e30be2 --- /dev/null +++ b/packages/shotkey/shotkey.tar.gz diff --git a/packages/shotkey/source b/packages/shotkey/source new file mode 160000 +Subproject 299bd436635cb1a4d7877bac50b482d32fccffe |
