Merge pull request #220149 from DamienCassou/offpunk-1.9
This commit is contained in:
commit
e40b5250ab
@ -1,5 +1,6 @@
|
|||||||
{
|
{
|
||||||
fetchFromSourcehut,
|
fetchFromSourcehut,
|
||||||
|
installShellFiles,
|
||||||
less,
|
less,
|
||||||
lib,
|
lib,
|
||||||
makeWrapper,
|
makeWrapper,
|
||||||
@ -31,16 +32,16 @@ let
|
|||||||
in
|
in
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "offpunk";
|
pname = "offpunk";
|
||||||
version = "1.8";
|
version = "1.9";
|
||||||
|
|
||||||
src = fetchFromSourcehut {
|
src = fetchFromSourcehut {
|
||||||
owner = "~lioploum";
|
owner = "~lioploum";
|
||||||
repo = "offpunk";
|
repo = "offpunk";
|
||||||
rev = "v${finalAttrs.version}";
|
rev = "v${finalAttrs.version}";
|
||||||
sha256 = "0xv7b3qkwyq55sz7c0v0pknrpikhzyqgr5y4y30cwa7jd8sn423f";
|
sha256 = "sha256-sxX4/7jbNbLwHVfE1lDtjr/luby5zAf6Hy1RcwXZLBA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper installShellFiles ];
|
||||||
buildInputs = otherDependencies ++ pythonDependencies;
|
buildInputs = otherDependencies ++ pythonDependencies;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
@ -52,6 +53,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
--set PYTHONPATH "$PYTHONPATH" \
|
--set PYTHONPATH "$PYTHONPATH" \
|
||||||
--set PATH ${lib.makeBinPath otherDependencies}
|
--set PATH ${lib.makeBinPath otherDependencies}
|
||||||
|
|
||||||
|
installManPage man/*.1
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user