fpp: init at 0.7.1

With fixups by joachifm

Closes #15468
This commit is contained in:
Marc Scholten 2016-05-15 01:07:18 +02:00 committed by Joachim Fasting
parent ebaf051604
commit 6bbead5e12
No known key found for this signature in database
GPG key ID: 4330820E1E04DCF4
2 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,30 @@
{ stdenv, fetchFromGitHub, python27Full }:
stdenv.mkDerivation rec {
name = "fpp-${version}";
version = "0.7.1";
src = fetchFromGitHub {
owner = "facebook";
repo = "PathPicker";
rev = version;
sha256 = "1mfyr9k5s3l1sg3c9vlyiqg8n1wwppzb981az2xaxqyk95wwl1sa";
};
postPatch = ''
substituteInPlace fpp --replace 'PYTHONCMD="python"' 'PYTHONCMD="${python27Full.interpreter}"'
'';
installPhase = ''
mkdir -p $out/share/fpp $out/bin
cp -r fpp src $out/share/fpp
ln -s $out/share/fpp/fpp $out/bin/fpp
'';
meta = {
description = "CLI program that accepts piped input and presents files for selection";
homepage = https://facebook.github.io/PathPicker/;
license = stdenv.lib.licenses.bsd3;
platforms = stdenv.lib.platforms.all;
};
}

View file

@ -787,6 +787,8 @@ in
fop = callPackage ../tools/typesetting/fop { };
fpp = callPackage ../tools/misc/fpp { };
fsmark = callPackage ../tools/misc/fsmark { };
fzf = goPackages.fzf.bin // { outputs = [ "bin" ]; };