Merge pull request #283604 from p-rintz/pupdate

pupdate: rename from pocket-updater-utility
This commit is contained in:
maxine 2024-01-25 18:50:41 +01:00 committed by GitHub
commit 3401c58f04
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 28 additions and 29 deletions

View File

@ -1,19 +1,19 @@
From c9ca58262045b82537bd8284d426c91582cc7ed7 Mon Sep 17 00:00:00 2001 From f56083d95304752c45cc569fe42c3b0d7a2430bd Mon Sep 17 00:00:00 2001
From: Philipp Rintz <git@rintz.net> From: Philipp Rintz <git@rintz.net>
Date: Thu, 28 Sep 2023 21:22:18 +0200 Date: Wed, 24 Jan 2024 22:11:50 +0100
Subject: [PATCH] uncommited Subject: [PATCH] uncommited
--- ---
pocket_updater.csproj | 1 + pupdate.csproj | 1 +
1 file changed, 1 insertion(+) 1 file changed, 1 insertion(+)
diff --git a/pocket_updater.csproj b/pocket_updater.csproj diff --git a/pupdate.csproj b/pupdate.csproj
index 30f77d5..ad6bf69 100644 index a6f59a8..0563137 100644
--- a/pocket_updater.csproj --- a/pupdate.csproj
+++ b/pocket_updater.csproj +++ b/pupdate.csproj
@@ -12,6 +12,7 @@ @@ -12,6 +12,7 @@
<Authors>Matt Pannella</Authors> <Authors>Matt Pannella</Authors>
<Product>Analogue Pocket Updater Utility</Product> <Product>Pupdate</Product>
<RepositoryUrl>https://github.com/mattpannella/pocket-updater-utility</RepositoryUrl> <RepositoryUrl>https://github.com/mattpannella/pocket-updater-utility</RepositoryUrl>
+ <RuntimeIdentifier>@RuntimeIdentifier@</RuntimeIdentifier> + <RuntimeIdentifier>@RuntimeIdentifier@</RuntimeIdentifier>
</PropertyGroup> </PropertyGroup>

View File

@ -1,24 +1,24 @@
{ pkgs ? import <nixpkgs> { system = builtins.currentSystem; } { pkgs
, stdenv ? pkgs.stdenv , stdenv
, lib ? pkgs.lib , lib
, fetchFromGitHub ? pkgs.fetchFromGitHub , fetchFromGitHub
, buildDotnetModule ? pkgs.buildDotnetModule , buildDotnetModule
, dotnetCorePackages ? pkgs.dotnetCorePackages , dotnetCorePackages
, openssl ? pkgs.openssl , openssl
, zlib ? pkgs.zlib , zlib
, hostPlatform ? stdenv.hostPlatform , hostPlatform
, nix-update-script ? stdenv.nix-update-script , nix-update-script
}: }:
buildDotnetModule rec { buildDotnetModule rec {
pname = "pocket-updater-utility"; pname = "pupdate";
version = "2.43.1"; version = "3.0.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "mattpannella"; owner = "mattpannella";
repo = "${pname}"; repo = "${pname}";
rev = "${version}"; rev = "${version}";
hash = "sha256-ur7BEsG4MIEcdiRt5BkK4GCa7aVkrh2Djd10KhaWf3U="; hash = "sha256-Lr3orYOSzFQCLduBhp2MtGbgiKtFB1CgP/iMMySSvEk=";
}; };
buildInputs = [ buildInputs = [
@ -30,17 +30,17 @@ buildDotnetModule rec {
# See https://github.com/NixOS/nixpkgs/pull/196648/commits/0fb17c04fe34ac45247d35a1e4e0521652d9c494 # See https://github.com/NixOS/nixpkgs/pull/196648/commits/0fb17c04fe34ac45247d35a1e4e0521652d9c494
patches = [ ./add-runtime-identifier.patch ]; patches = [ ./add-runtime-identifier.patch ];
postPatch = '' postPatch = ''
substituteInPlace pocket_updater.csproj \ substituteInPlace pupdate.csproj \
--replace @RuntimeIdentifier@ "${dotnetCorePackages.systemToDotnetRid hostPlatform.system}" --replace @RuntimeIdentifier@ "${dotnetCorePackages.systemToDotnetRid hostPlatform.system}"
''; '';
projectFile = "pocket_updater.csproj"; projectFile = "pupdate.csproj";
nugetDeps = ./deps.nix; nugetDeps = ./deps.nix;
selfContainedBuild = true; selfContainedBuild = true;
executables = [ "pocket_updater" ]; executables = [ "pupdate" ];
dotnetFlags = [ dotnetFlags = [
"-p:PackageRuntime=${dotnetCorePackages.systemToDotnetRid stdenv.hostPlatform.system}" "-p:PackageRuntime=${dotnetCorePackages.systemToDotnetRid stdenv.hostPlatform.system}"
@ -54,11 +54,11 @@ buildDotnetModule rec {
}; };
meta = with lib; { meta = with lib; {
homepage = "https://github.com/mattpannella/pocket-updater-utility"; homepage = "https://github.com/mattpannella/pupdate";
description = "Analogue Pocket Updater Utility"; description = "Pupdate - A thing for updating your Analogue Pocket ";
license = licenses.mit; license = licenses.mit;
platforms = platforms.linux; platforms = platforms.linux;
maintainers = with maintainers; [ p-rintz ]; maintainers = with maintainers; [ p-rintz ];
mainProgram = "pocket_updater"; mainProgram = "pupdate";
}; };
} }

View File

@ -841,6 +841,7 @@ mapAliases ({
pinentry_qt = throw "'pinentry_qt' has been renamed to/replaced by 'pinentry-qt'"; # Converted to throw 2023-09-10 pinentry_qt = throw "'pinentry_qt' has been renamed to/replaced by 'pinentry-qt'"; # Converted to throw 2023-09-10
pinentry_qt5 = pinentry-qt; # Added 2020-02-11 pinentry_qt5 = pinentry-qt; # Added 2020-02-11
PlistCpp = plistcpp; # Added 2024-01-05 PlistCpp = plistcpp; # Added 2024-01-05
pocket-updater-utility = pupdate; # Added 2024-01-25
poetry2nix = throw "poetry2nix is now maintained out-of-tree. Please use https://github.com/nix-community/poetry2nix/"; # Added 2023-10-26 poetry2nix = throw "poetry2nix is now maintained out-of-tree. Please use https://github.com/nix-community/poetry2nix/"; # Added 2023-10-26
prayer = throw "prayer has been removed from nixpkgs"; # Added 2023-11-09 prayer = throw "prayer has been removed from nixpkgs"; # Added 2023-11-09
privacyidea = throw "privacyidea has been removed from nixpkgs"; # Added 2023-10-31 privacyidea = throw "privacyidea has been removed from nixpkgs"; # Added 2023-10-31

View File

@ -2014,8 +2014,6 @@ with pkgs;
pferd = callPackage ../tools/misc/pferd { }; pferd = callPackage ../tools/misc/pferd { };
pocket-updater-utility = callPackage ../tools/games/pocket-updater-utility { };
polygon-cli = callPackage ../tools/networking/polygon-cli { }; polygon-cli = callPackage ../tools/networking/polygon-cli { };
pricehist = python3Packages.callPackage ../tools/misc/pricehist { }; pricehist = python3Packages.callPackage ../tools/misc/pricehist { };