aboutsummaryrefslogtreecommitdiff
path: root/packages/shotkey/pkg.nix
blob: 3a9eea767aeb5fb05f77eb9b705971d0356a8cfa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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'';
}