2021-02-04 23:19:00 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
2018-02-18 21:00:28 +00:00
|
|
|
|
2019-08-13 21:52:01 +00:00
|
|
|
stdenv.mkDerivation {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "cue2pops";
|
2024-07-08 13:35:12 +00:00
|
|
|
version = "0-unstable-2023-01-15";
|
2018-02-18 21:00:28 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "makefu";
|
|
|
|
repo = "cue2pops-linux";
|
2024-07-08 13:35:12 +00:00
|
|
|
rev = "3f2be6126bd50dfe6b998bc8926f88ce9139c19a";
|
|
|
|
hash = "sha256-7rgYvqeH8ZDI8Vc5vnjIhe3Ke0TE1q/iFHEqucanhUM=";
|
2018-02-18 21:00:28 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
dontConfigure = true;
|
|
|
|
|
|
|
|
installPhase = ''
|
2024-07-08 13:30:22 +00:00
|
|
|
runHook preInstall
|
2018-02-18 21:00:28 +00:00
|
|
|
install --directory --mode=755 $out/bin
|
|
|
|
install --mode=755 cue2pops $out/bin
|
2024-07-08 13:30:22 +00:00
|
|
|
runHook postInstall
|
2018-02-18 21:00:28 +00:00
|
|
|
'';
|
|
|
|
|
2024-07-08 13:30:22 +00:00
|
|
|
meta = {
|
2018-02-18 21:00:28 +00:00
|
|
|
description = "Convert CUE to ISO suitable to POPStarter";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/makefu/cue2pops-linux";
|
2024-07-08 13:30:22 +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;
|
2023-11-23 02:51:17 +00:00
|
|
|
mainProgram = "cue2pops";
|
2018-02-18 21:00:28 +00:00
|
|
|
};
|
|
|
|
}
|