Skip to content

Instantly share code, notes, and snippets.

@LaloHao
Created November 2, 2020 12:11
Show Gist options
  • Save LaloHao/5c03eaf37bfbecb6427bfcadd3f603d4 to your computer and use it in GitHub Desktop.
Save LaloHao/5c03eaf37bfbecb6427bfcadd3f603d4 to your computer and use it in GitHub Desktop.
{ pkgs ? import <nixpkgs> {} }:
with pkgs;
stdenv.mkDerivation {
name = "transset-df";
version = "6.0.0";
src = builtins.fetchTarball {
url = "https://forchheimer.se/transset-df/transset-df-6.tar.gz";
sha256 = "0rfak8bjvmg3njj4n6xncn74p7k3rj1x0vcsbg15nkdnqpjjsbpa";
};
buildInputs = [
pkgconfig
xorg.libXcomposite
xorg.libXdamage
xorg.libXrender
];
installPhase = ''
mkdir -p $out/bin
cp transset-df $out/bin
'';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment