Skip to content

stack-client: init at 5.3.1 #381552

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

Closed

Conversation

timoteuszelle
Copy link

Adds the Stack client, a command-line tool for TransIP's Stack cloud storage service.

Stack is a cloud storage service provided by TransIP (https://www.transip.nl/stack/),
offering secure file storage and synchronization capabilities.

This PR adds the command-line client that allows users to interact with Stack from their terminal.

  • Tested build on x86_64-linux
  • Package is fetchable and builds successfully
  • Added relevant meta attributes (description, homepage, license)

@github-actions github-actions bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. labels Feb 12, 2025
Copy link
Contributor

@wolfgangwalther wolfgangwalther left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Most important: Make sure to split things correctly into the right files and commits.

You can find more details here: https://github.com/NixOS/nixpkgs/blob/master/pkgs/README.md

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file needs to go into pkgs/by-name/st/stack-client/package.nix.

Comment on lines -45 to +50
version = "4.0.5";
version = "4.0.6";

# when updating, consider bumping elixir version in all-packages.nix
src = fetchurl {
url = "https://github.com/rabbitmq/rabbitmq-server/releases/download/v${version}/${pname}-${version}.tar.xz";
hash = "sha256-Jn6DvSvegezhq+zjZbUdHR/b6Kgg+QqZwDDrxu21+0g=";
hash = "sha256-JkXBZtOUJXfccYZyryO/fZUKL3jyKLGq2vhpRENeDo4=";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This update needs to go into a separate commit, possibly separate PR - seems unrelated here.

in
stdenv.mkDerivation rec {
pname = "stack-client";
version = "latest";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"latest" is not an acceptable version. This needs to be a specific version.

version = "latest";

src = fetchurl {
url = "https://filehosting-client.transip.nl/packages/stack-source-latest.tar.gz";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please re-use the version defined above in the URL.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should not go into stack-client/, but into pkgs/by-name/kd/kdsingleapplaction/package.nix - and in a separate commit.


meta = with lib; {
description = "Single instance application library for Qt6";
homepage = "https://github.com/KDAB/KDSingleApplication";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
homepage = "https://github.com/KDAB/KDSingleApplication";
homepage = "https://github.com/KDAB/KDSingleApplication";
changelog = "https://github.com/KDAB/KDSingleApplication/releases/v${version}";

Having a changelog, ideally pointing right at the correct version, is always nice for update PRs.

homepage = "https://www.transip.nl/stack/";
changelog = "https://www.transip.nl/stack/changelog/";
license = licenses.unfree;
maintainers = with maintainers; [ timoteuszelle ];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You'll have to add yourself to maintainers/maintainer-list.nix, in a separate commit. Also see https://github.com/NixOS/nixpkgs/blob/master/maintainers/README.md#how-to-become-a-maintainer.

Comment on lines +19 to +28
libre-graph-api = stdenv.mkDerivation rec {
pname = "libre-graph-api-cpp-qt-client";
version = "1.0.4";

src = fetchFromGitHub {
owner = "owncloud";
repo = "libre-graph-api-cpp-qt-client";
rev = "v${version}";
sha256 = "wbdamPi2XSLWeprrYZtBUDH1A2gdp6/5geFZv+ZqSWk=";
};
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is libre-graph-api in a let block and not a standalone package? Any specific reason?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is this file about?

@timoteuszelle
Copy link
Author

Should I work on the changes and do a new PR, I won't have time again until somewhere next week?

@wolfgangwalther
Copy link
Contributor

Should I work on the changes and do a new PR

No, the changes should be done in this PR. You'll need to "rebase" your branch. Search for "git rebase" for how to do that.

I won't have time again until somewhere next week?

Your time, no worries. Whenever. Some PRs are.. open for years and still returned to and finished :)

@wegank wegank added the 2.status: merge conflict This PR has merge conflicts with the target branch label Mar 16, 2025
@nixpkgs-ci nixpkgs-ci bot added the 12.first-time contribution This PR is the author's first one; please be gentle! label Jun 25, 2025
@nixpkgs-ci nixpkgs-ci bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Aug 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.status: merge conflict This PR has merge conflicts with the target branch 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. 12.first-time contribution This PR is the author's first one; please be gentle!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants