mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-05 19:53:43 +00:00
ps3-disc-dumper: add update script
This commit is contained in:
parent
4467161b8c
commit
540c7a13c2
@ -35,6 +35,8 @@ buildDotnetModule rec {
|
||||
openssl
|
||||
];
|
||||
|
||||
passthru.updateScript = ./update.sh;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/13xforever/ps3-disc-dumper";
|
||||
description = "Handy utility to make decrypted PS3 disc dumps";
|
||||
|
8
pkgs/by-name/ps/ps3-disc-dumper/update.sh
Executable file
8
pkgs/by-name/ps/ps3-disc-dumper/update.sh
Executable file
@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env nix-shell
|
||||
#!nix-shell --pure -i bash -p bash nix nix-update git cacert
|
||||
set -eo pipefail
|
||||
|
||||
prev_version=$(nix eval --raw -f. ps3-disc-dumper.version)
|
||||
nix-update ps3-disc-dumper
|
||||
[[ $(nix eval --raw -f. ps3-disc-dumper.version) == "$prev_version" ]] ||
|
||||
$(nix-build . -A ps3-disc-dumper.fetch-deps --no-out-link)
|
Loading…
Reference in New Issue
Block a user