summaryrefslogtreecommitdiff
path: root/pkgs/papa/package.nix
diff options
context:
space:
mode:
authorseth <[email protected]>2024-05-22 04:11:47 -0400
committerseth <[email protected]>2024-05-22 16:21:31 -0600
commitf30d81b8028ed1c13d076ed7069312a5ddf592a6 (patch)
tree071521f709e79b4a019bc3974515ef536c53b0b6 /pkgs/papa/package.nix
parent2a936b25d71986b1044645179b2fa385f43c2bc2 (diff)
papa: 4.1.0-rc.3 -> 4.1.0-rc.4
Diffstat (limited to 'pkgs/papa/package.nix')
-rw-r--r--pkgs/papa/package.nix24
1 files changed, 9 insertions, 15 deletions
diff --git a/pkgs/papa/package.nix b/pkgs/papa/package.nix
index 4659f94..e8b5a97 100644
--- a/pkgs/papa/package.nix
+++ b/pkgs/papa/package.nix
@@ -2,36 +2,30 @@
lib,
rustPlatform,
fetchFromGitHub,
+ papa,
installShellFiles,
nix-update-script,
testers,
- papa,
openssl,
pkg-config,
}:
-rustPlatform.buildRustPackage {
+rustPlatform.buildRustPackage rec {
pname = "papa";
- version = "4.1.0-rc.3";
+ version = "4.1.0-rc.4";
src = fetchFromGitHub {
owner = "AnActualEmerald";
repo = "papa";
- rev = "v${papa.version}";
- hash = "sha256-opuBCuc3YCAdwwg6XbTX0HRrV3FsVdJStEACMvtTM1w=";
+ rev = "v${version}";
+ hash = "sha256-XAYenoWLKeNzNozFRPz84WDeU0/y2hd/wgr3UeZLFS0=";
};
postUnpack = ''
rmdir source/thermite
- ln -sf ${papa.libthermite} source/thermite
+ ln -sf ${passthru.libthermite} source/thermite
'';
- postPatch = ''
- ln -sf ${./Cargo.lock} Cargo.lock
- '';
-
- cargoLock = {
- lockFile = ./Cargo.lock;
- };
+ cargoHash = "sha256-t2c/eaQLEKLzJEvyY35Kithon5K5Bes3OWmQgExigzI=";
nativeBuildInputs = [pkg-config installShellFiles];
buildInputs = [openssl];
@@ -57,10 +51,10 @@ rustPlatform.buildRustPackage {
};
meta = with lib; {
- mainProgram = "papa";
description = "Mod manager for Northstar clients and servers";
homepage = "https://github.com/AnActualEmerald/papa";
- changelog = "https://github.com/AnActualEmerald/papa/releases/tag/v${papa.version}";
+ changelog = "https://github.com/AnActualEmerald/papa/releases/tag/v${src.version}";
+ mainProgram = "papa";
license = licenses.mit;
maintainers = with maintainers; [getchoo];
platforms = platforms.unix;