fpp: 0.9.2 -> 0.9.5
https://github.com/facebook/PathPicker/releases/tag/0.9.5
This commit is contained in:
parent
16fe911917
commit
7a632f5c1d
1 changed files with 6 additions and 3 deletions
|
@ -1,16 +1,18 @@
|
|||
{ lib, stdenv, fetchFromGitHub, python3 }:
|
||||
{ lib, stdenv, fetchFromGitHub, python3, installShellFiles }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "fpp";
|
||||
version = "0.9.2";
|
||||
version = "0.9.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "facebook";
|
||||
repo = "PathPicker";
|
||||
rev = version;
|
||||
sha256 = "08p2xlz045fqyb0aj9pwwf2s5nb4b02i8zj81732q59yx5c6lrlv";
|
||||
sha256 = "sha256-4BkdGvG/RyF3JBnd/X5r5nboEHG4aqahcYHDunMv2zU=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace fpp --replace 'PYTHONCMD="python3"' 'PYTHONCMD="${python3.interpreter}"'
|
||||
'';
|
||||
|
@ -19,6 +21,7 @@ stdenv.mkDerivation rec {
|
|||
mkdir -p $out/share/fpp $out/bin
|
||||
cp -r fpp src $out/share/fpp
|
||||
ln -s $out/share/fpp/fpp $out/bin/fpp
|
||||
installManPage debian/usr/share/man/man1/fpp.1
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
|
Loading…
Reference in a new issue