-
-
Notifications
You must be signed in to change notification settings - Fork 15.5k
python-i3ipc: init at 1.3.0 #32030
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
Conversation
@@ -0,0 +1,28 @@ | |||
{ pkgs, buildPythonPackage, enum-compat }: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no pkgs
There was a problem hiding this comment.
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}"; |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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; |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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; | ||
}; |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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.
(triage) This is now part of If for any reason this needs to be re-opened, re-open, or ask for it. |
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