1 { lib, stdenv, fetchFromGitHub, python3 }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "08p2xlz045fqyb0aj9pwwf2s5nb4b02i8zj81732q59yx5c6lrlv";
15 substituteInPlace fpp --replace 'PYTHONCMD="python3"' 'PYTHONCMD="${python3.interpreter}"'
19 mkdir -p $out/share/fpp $out/bin
20 cp -r fpp src $out/share/fpp
21 ln -s $out/share/fpp/fpp $out/bin/fpp
25 description = "CLI program that accepts piped input and presents files for selection";
26 homepage = "https://facebook.github.io/PathPicker/";
27 license = lib.licenses.bsd3;
28 platforms = lib.platforms.all;