pkgs.ps3dec: init
This commit is contained in:
parent
8c40d7346c
commit
5ad1aef951
27
5pkgs/ps3dec/default.nix
Normal file
27
5pkgs/ps3dec/default.nix
Normal 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";
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue