Skip to content

cabinpkg: 0.10.1 -> 0.11.0, renamed from poac #371042

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 23, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions nixos/doc/manual/release-notes/rl-2505.section.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,8 @@

- `minetest` has been renamed to `luanti` to match the upstream name change but aliases have been added. The new name hasn't resulted in many changes as of yet but older references to minetest should be sunset. See the [new name announcement](https://blog.minetest.net/2024/10/13/Introducing-Our-New-Name/) for more details.

- `poac` has been renamed to `cabinpkg` to match the upstream name change but an alias has been added. See the [new name announcement](https://github.com/orgs/cabinpkg/discussions/1052) for more details.

- `racket_7_9` has been removed, as it is insecure. It is recommended to use Racket 8 instead.

- `rofi` has been updated from 1.7.5 to 1.7.6 which introduces some breaking changes to binary plugins, and also contains a lot of new features and bug fixes. This is highlighted because the patch version bump does not indicate the volume of changes by itself. See the [upstream release notes](https://github.com/davatorium/rofi/releases/tag/1.7.6) for the full list of changes.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,19 @@ let
owner = "ToruNiina";
repo = "toml11";
version = "4.2.0";
rev = "refs/tags/v${version}";
tag = "v${version}";
sha256 = "sha256-NUuEgTpq86rDcsQnpG0IsSmgLT0cXhd1y32gT57QPAw=";
};
in
stdenv.mkDerivation rec {
pname = "poac";
version = "0.10.1";
pname = "cabinpkg";
version = "0.11.0";

src = fetchFromGitHub {
owner = "poac-dev";
repo = pname;
rev = "refs/tags/${version}";
sha256 = "sha256-uUVNM70HNJwrr38KB+44fNvLpWihoKyDpRj7d7kbo7k=";
owner = "cabinpkg";
repo = "cabin";
tag = version;
sha256 = "sha256-LIP99Shxu/lOdZ31KVA8RYawZ6dRLtXEGKZs1mUFCus=";
};

strictDeps = true;
Expand All @@ -44,30 +44,34 @@ stdenv.mkDerivation rec {
curl
];

# Skip git cloning toml11
preConfigure = ''
#Skip git clone toml11
substituteInPlace Makefile \
--replace-fail "git clone" "\#git clone"
substituteInPlace Makefile \
--replace-fail "git -C" "\#git -c"
--replace-fail "git clone https://github.com/ToruNiina/toml11.git \$@" ":" \
--replace-fail "git -C \$@ reset --hard v4.2.0" ":"
'';

preBuild = ''
mkdir -p build-out/DEPS/
cp -rf ${toml11} build-out/DEPS/toml11
mkdir -p build/DEPS/
cp -rf ${toml11} build/DEPS/toml11
'';

makeFlags = [ "RELEASE=1" ];
makeFlags = [
"RELEASE=1"
"COMMIT_HASH="
"COMMIT_SHORT_HASH="
"COMMIT_DATE="
];

installFlags = [ "PREFIX=${placeholder "out"}" ];

meta = {
broken = (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64);
homepage = "https://poac.dev";
homepage = "https://cabinpkg.com";
description = "A package manager and build system for C++";
license = lib.licenses.asl20;
maintainers = [ lib.maintainers.qwqawawow ];
platforms = lib.platforms.unix;
mainProgram = "poac";
mainProgram = "cabin";
};
}
1 change: 1 addition & 0 deletions pkgs/top-level/aliases.nix
Original file line number Diff line number Diff line change
Expand Up @@ -1052,6 +1052,7 @@ mapAliases {
playwright = lib.warnOnInstantiate "'playwright' will reference playwright-driver in 25.05. Reference 'python3Packages.playwright' for the python test launcher" (python3Packages.toPythonApplication python3Packages.playwright); # Added 2024-10-04
pleroma-otp = throw "'pleroma-otp' has been renamed to/replaced by 'pleroma'"; # Converted to throw 2024-10-17
pltScheme = racket; # just to be sure
poac = cabinpkg; # Added 2025-01-22
poretools = throw "poretools has been removed from nixpkgs, as it was broken and unmaintained"; # Added 2024-06-03
powerdns = pdns; # Added 2022-03-28

Expand Down