Skip to content

Commit

Permalink
feat: add builinputs deps to default nix
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioRibera committed Jan 19, 2024
1 parent 3a78674 commit d5b2fc9
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,22 @@ in
sss = pkgs.stdenv.mkDerivation {
name = "sss";
version = "0.1.1";
buildInputs = with pkgs; [ fontconfig ];
src = fetchTarball {
url = "https://github.com/SergioRibera/sss/releases/download/sss_cli/v0.1.1/sss_cli-${platform}.tar.xz";
sha256 = hash_sss;
};
buildInputs = with pkgs; [
fontconfig
dbus
wayland
wayland-protocols
libxkbcommon
xorg.libXcursor
xorg.libxcb
xorg.libX11
xorg.libXi
xorg.libXrandr
];
installPhase = ''
mkdir -p $out/bin
cp sss $out/bin/
Expand All @@ -35,11 +46,11 @@ in
sss_code = pkgs.stdenv.mkDerivation {
name = "sss_code";
version = "0.1.5";
buildInputs = with pkgs; [ fontconfig ];
src = fetchTarball {
url = "https://github.com/SergioRibera/sss/releases/download/sss_code/v0.1.5/sss_code-${platform}.tar.xz";
sha256 = hash_sss_code;
};
buildInputs = with pkgs; [ fontconfig ];
installPhase = ''
mkdir -p $out/bin
cp sss_code $out/bin/
Expand Down

0 comments on commit d5b2fc9

Please sign in to comment.