-
-
Save cleverca22/128d4191ef28082cdd072a4231d76d38 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ pkgs ? import <nixpkgs> {} }: | |
let | |
version = "5.0.0"; | |
py = pkgs.python36Packages; | |
in pkgs.stdenv.mkDerivation { | |
name = "wpgtk"; | |
src = builtins.fetchTarball { | |
url = "https://github.com/deviantfero/wpgtk/archive/${version}.tar.gz"; | |
# sha256 = "1swm30imdc1b25iclwxr0rgp9kim87naxiwpaf8mwh9wjyrfx857"; | |
}; | |
buildInputs = with pkgs; [ python36 imagemagick feh ] ++ (with py; [ pip setuptools ]); | |
installPhase = '' | |
mkdir -p $out/bin | |
${py.pip} install --target $out/bin . | |
''; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment