Skip to content

Commit

Permalink
cue2pops: modernize derivation
Browse files Browse the repository at this point in the history
  • Loading branch information
NotAShelf committed Jul 7, 2024
1 parent 018df08 commit 139e900
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions pkgs/by-name/cu/cue2pops/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,32 +3,33 @@
stdenv,
fetchFromGitHub,
}:

stdenv.mkDerivation {
pname = "cue2pops";
version = "unstable-2018-01-04";
version = "0-unstable-2018-01-04";

src = fetchFromGitHub {
owner = "makefu";
repo = "cue2pops-linux";
rev = "541863adf23fdecde92eba5899f8d58586ca4551";
sha256 = "05w84726g3k33rz0wwb9v77g7xh4cnhy9sxlpilf775nli9bynrk";
hash = "sha256-M1u/UqS2nONovLTr5KFlBPbzztlpcQ5+HmOOZ8QhiBc=";
};

dontConfigure = true;

makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ];

installPhase = ''
runHook preInstall
install --directory --mode=755 $out/bin
install --mode=755 cue2pops $out/bin
runHook postInstall
'';

meta = with lib; {
meta = {
description = "Convert CUE to ISO suitable to POPStarter";
homepage = "https://github.com/makefu/cue2pops-linux";
maintainers = with maintainers; [ AndersonTorres ];
platforms = platforms.all;
maintainers = with lib.maintainers; [ AndersonTorres ];
platforms = lib.platforms.all;
mainProgram = "cue2pops";
};
}

0 comments on commit 139e900

Please sign in to comment.