Unverified Commit 1f0b55c5 authored by Peder Bergebakken Sundt's avatar Peder Bergebakken Sundt Committed by GitHub
Browse files

Merge pull request #330041 from Sigmanificient/1oom-1-10-1

_1oom: 1.8.1 -> 1.10.1
parents b5fc4cd1 a065bf03
Loading
Loading
Loading
Loading
+35 −9
Original line number Diff line number Diff line
{ lib, stdenv, fetchFromGitHub, gitUpdater, autoreconfHook, allegro, libsamplerate, libX11, libXext, SDL, SDL_mixer, SDL2, SDL2_mixer, readline }:
{
  lib,
  stdenv,
  fetchFromGitHub,
  gitUpdater,
  autoreconfHook,
  allegro,
  libsamplerate,
  libX11,
  libXext,
  SDL,
  SDL_mixer,
  SDL2,
  SDL2_mixer,
  readline,
}:

stdenv.mkDerivation rec {
  pname = "1oom";
  version = "1.8.1";
  version = "1.10.1";

  src = fetchFromGitHub {
    owner = "1oom-fork";
    repo = "1oom";
    rev = "refs/tags/f${version}";
    hash = "sha256-sBVcPR4+MDjyOLgrB4VcVy0cDyyG5MVY9vNhWwqAhBA=";
    rev = "refs/tags/v${version}";
    hash = "sha256-M8UpdIOOMUMNY0e+Cxx/uoLBWKc2x7cv2d4VyLwcMng=";
  };

  nativeBuildInputs = [ autoreconfHook ];
  buildInputs = [ allegro libsamplerate libX11 libXext SDL SDL_mixer SDL2 SDL2_mixer readline ];
  buildInputs = [
    allegro
    libsamplerate
    libX11
    libXext
    SDL
    SDL_mixer
    SDL2
    SDL2_mixer
    readline
  ];

  outputs = [ "out" "doc" ];
  outputs = [
    "out"
    "doc"
  ];

  postInstall = ''
    install -d $doc/share/doc/${pname}
@@ -22,9 +50,7 @@ stdenv.mkDerivation rec {
      HACKING NEWS PHILOSOPHY README.md doc/*.txt
  '';

  passthru.updateScript = gitUpdater {
    rev-prefix = "f";
  };
  passthru.updateScript = gitUpdater { rev-prefix = "f"; };

  meta = with lib; {
    homepage = "https://github.com/1oom-fork/1oom";