diff options
author | tv <tv@krebsco.de> | 2022-01-03 14:32:14 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2022-01-03 14:32:14 +0100 |
commit | e8611251e6e40a50dedfe8efaa8ea555a96e1a9d (patch) | |
tree | b2062294c7a157b04ff0cdfb56e1c156364a7577 /makefu | |
parent | db6e1a0dfc91ea25c0eeebb5254156469f209265 (diff) | |
parent | 2313e962e2ac6dc6f1f59800d793101f958e8b37 (diff) |
Merge remote-tracking branch 'prism/master'
Diffstat (limited to 'makefu')
-rw-r--r-- | makefu/2configs/tools/core-gui.nix | 1 | ||||
-rw-r--r-- | makefu/5pkgs/pkgrename/default.nix | 30 |
2 files changed, 30 insertions, 1 deletions
diff --git a/makefu/2configs/tools/core-gui.nix b/makefu/2configs/tools/core-gui.nix index 95b6b0f5d..65393264f 100644 --- a/makefu/2configs/tools/core-gui.nix +++ b/makefu/2configs/tools/core-gui.nix @@ -12,7 +12,6 @@ evince # replacement for mirage: sxiv - tightvnc gnome3.dconf xdotool xorg.xbacklight diff --git a/makefu/5pkgs/pkgrename/default.nix b/makefu/5pkgs/pkgrename/default.nix new file mode 100644 index 000000000..5eeb161e7 --- /dev/null +++ b/makefu/5pkgs/pkgrename/default.nix @@ -0,0 +1,30 @@ +{ lib, stdenv, fetchFromGitHub, curl +}: +stdenv.mkDerivation rec { + name = "pkgrename"; + version = "1.03"; + + src = fetchFromGitHub { + owner = "hippie68"; + repo = "pkgrename"; + rev = "c3e5c47ed9367273bd09577af46d3d9bf87b2a50"; + sha256 = "0cphxdpj04h1i0qf5mji3xqdsbyilvd5b4gwp4vx914r6k5f0xf3"; + }; + + buildInputs = [ curl.dev ]; + buildPhase = '' + cd pkgrename.c + gcc pkgrename.c src/*.c -o pkgrename -lcurl -s -O1 $(curl-config --cflags --libs) + ''; + installPhase = '' + install -D pkgrename $out/bin/pkgrename + ''; + + meta = { + description = "Tool to rename ps4 .pkg files"; + homepage = "https://github.com/hippie68/pkgrename"; + license = lib.licenses.gpl3; + platforms = lib.platforms.linux; + maintainers = with lib.maintainers; [ makefu ]; + }; +} |