Unverified Commit e40b5250 authored by Damien Cassou's avatar Damien Cassou Committed by GitHub
Browse files

Merge pull request #220149 from DamienCassou/offpunk-1.9

parents 1432d3f6 be521607
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
{
  fetchFromSourcehut,
  installShellFiles,
  less,
  lib,
  makeWrapper,
@@ -31,16 +32,16 @@ let
in
stdenv.mkDerivation (finalAttrs: {
  pname = "offpunk";
  version = "1.8";
  version = "1.9";

  src = fetchFromSourcehut {
    owner = "~lioploum";
    repo = "offpunk";
    rev = "v${finalAttrs.version}";
    sha256 = "0xv7b3qkwyq55sz7c0v0pknrpikhzyqgr5y4y30cwa7jd8sn423f";
    sha256 = "sha256-sxX4/7jbNbLwHVfE1lDtjr/luby5zAf6Hy1RcwXZLBA=";
  };

  nativeBuildInputs = [ makeWrapper ];
  nativeBuildInputs = [ makeWrapper installShellFiles ];
  buildInputs = otherDependencies ++ pythonDependencies;

  installPhase = ''
@@ -52,6 +53,7 @@ stdenv.mkDerivation (finalAttrs: {
        --set PYTHONPATH "$PYTHONPATH" \
        --set PATH ${lib.makeBinPath otherDependencies}

   installManPage man/*.1
   runHook postInstall
  '';