pkgs.ps3dec: init

This commit is contained in:
makefu 2024-01-26 11:39:46 +01:00
parent 8c40d7346c
commit 5ad1aef951
No known key found for this signature in database
GPG key ID: 36F7711F3FC0F225

27
5pkgs/ps3dec/default.nix Normal file
View file

@ -0,0 +1,27 @@
{ lib, stdenv, fetchFromGitHub , mbedtls, ninja, cmake }:
stdenv.mkDerivation rec {
pname = "ps3dec";
version = "20181216";
src = fetchFromGitHub {
owner = "al3xtjames";
repo = "PS3Dec";
rev = "7d1d27f";
hash = "sha256-dgH9xMOAqDhfG2dWE+oX2wNqrcsSO8dMTo5f3ETSxTw=";
};
nativeBuildInputs = [ cmake ninja ];
buildInputs = [ mbedtls ];
installPhase = ''
install -D Release/PS3Dec $out/bin/PS3Dec
'';
meta = {
description = "ISO encryptor/decryptor for PS3 disc images";
homepage = "https://github.com/al3xtjames/PS3Dec";
license = lib.licenses.free;
platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [ makefu ];
mainProgram = "PS3Dec";
};
}