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,16 +1,18 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, python3 }:
|
{ lib, stdenv, fetchFromGitHub, python3, installShellFiles }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "fpp";
|
pname = "fpp";
|
||||||
version = "0.9.2";
|
version = "0.9.5";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "facebook";
|
owner = "facebook";
|
||||||
repo = "PathPicker";
|
repo = "PathPicker";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "08p2xlz045fqyb0aj9pwwf2s5nb4b02i8zj81732q59yx5c6lrlv";
|
sha256 = "sha256-4BkdGvG/RyF3JBnd/X5r5nboEHG4aqahcYHDunMv2zU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ installShellFiles ];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace fpp --replace 'PYTHONCMD="python3"' 'PYTHONCMD="${python3.interpreter}"'
|
substituteInPlace fpp --replace 'PYTHONCMD="python3"' 'PYTHONCMD="${python3.interpreter}"'
|
||||||
'';
|
'';
|
||||||
|
@ -19,6 +21,7 @@ stdenv.mkDerivation rec {
|
||||||
mkdir -p $out/share/fpp $out/bin
|
mkdir -p $out/share/fpp $out/bin
|
||||||
cp -r fpp src $out/share/fpp
|
cp -r fpp src $out/share/fpp
|
||||||
ln -s $out/share/fpp/fpp $out/bin/fpp
|
ln -s $out/share/fpp/fpp $out/bin/fpp
|
||||||
|
installManPage debian/usr/share/man/man1/fpp.1
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
|
Loading…
Reference in a new issue