Skip to content
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

python-i3ipc: init at 1.3.0 #32030

Closed
wants to merge 2 commits into from
Closed

python-i3ipc: init at 1.3.0 #32030

wants to merge 2 commits into from

Conversation

1pakch
Copy link
Contributor

@1pakch 1pakch commented Nov 25, 2017

Motivation for this change

The package i3ipc-python is a better-maintained alternative to i3-py which is currently in nixpkgs. Contributors: 26 vs 3. Last commit: 19 days ago vs 6 years ago

Things done
  • Tested using sandboxing
    • Built on platform(s)
    • NixOS
    • macOS
    • Linux
  • Tested the library
  • Fits CONTRIBUTING.md.

@1pakch 1pakch requested a review from FRidh as a code owner November 25, 2017 16:14
@@ -0,0 +1,28 @@
{ pkgs, buildPythonPackage, enum-compat }:
Copy link
Member

Choose a reason for hiding this comment

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

no pkgs

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed

sha256 = "1rw9mq18np6bf8xp8vvc21bi5q8xjmj8dck2vsa1hy8bk434259m";

in buildPythonPackage rec {
name = "i3ipc-${version}";
Copy link
Member

Choose a reason for hiding this comment

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

pname = "i3ipc";
version = "1.3.0";

no need for name

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed

fetchSubmodules = true; # because a tag is used
};

doCheck = false;
Copy link
Member

Choose a reason for hiding this comment

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

Why? Leave a comment in the code with a reason.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added a comment

homepage = "https://github.com/acrisci/i3ipc-python";
description = "An improved library to control i3wm";
license = pkgs.lib.licenses.bsd3;
};
Copy link
Member

Choose a reason for hiding this comment

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

are you going to maintain this expression?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes. Added myself as maintainer here and in lib/maintainers.nix

repo = "i3ipc-python";
rev = "refs/tags/v${version}";
inherit sha256;
fetchSubmodules = true; # Fetching by tag does not work otherwise
Copy link
Member

Choose a reason for hiding this comment

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

seems to fetch just fine here without. Note also that refs/tags can be dropped.

@samueldr
Copy link
Member

(triage) This is now part of nixpkgs, see #34835.


If for any reason this needs to be re-opened, re-open, or ask for it.

@samueldr samueldr closed this Nov 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants