2021-02-05 17:12:51 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
pname = "cue2pops";
|
2024-07-27 06:49:29 +00:00
|
|
|
version = "0-unstable-2023-01-15";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "makefu";
|
|
|
|
repo = "cue2pops-linux";
|
2024-07-27 06:49:29 +00:00
|
|
|
rev = "3f2be6126bd50dfe6b998bc8926f88ce9139c19a";
|
|
|
|
hash = "sha256-7rgYvqeH8ZDI8Vc5vnjIhe3Ke0TE1q/iFHEqucanhUM=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
dontConfigure = true;
|
|
|
|
|
|
|
|
installPhase = ''
|
2024-07-27 06:49:29 +00:00
|
|
|
runHook preInstall
|
2020-04-24 23:36:52 +00:00
|
|
|
install --directory --mode=755 $out/bin
|
|
|
|
install --mode=755 cue2pops $out/bin
|
2024-07-27 06:49:29 +00:00
|
|
|
runHook postInstall
|
2020-04-24 23:36:52 +00:00
|
|
|
'';
|
|
|
|
|
2024-07-27 06:49:29 +00:00
|
|
|
meta = {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Convert CUE to ISO suitable to POPStarter";
|
|
|
|
homepage = "https://github.com/makefu/cue2pops-linux";
|
2024-07-27 06:49:29 +00:00
|
|
|
# Upstream license is unclear.
|
|
|
|
# <https://github.com/ErikAndren/cue2pops-mac/issues/2#issuecomment-673983298>
|
|
|
|
license = lib.licenses.unfree;
|
|
|
|
maintainers = with lib.maintainers; [ AndersonTorres ];
|
|
|
|
platforms = lib.platforms.all;
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "cue2pops";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|