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
yokadi: init at 1.1.1 #34900
yokadi: init at 1.1.1 #34900
Conversation
|
||
python3Packages.buildPythonApplication rec { | ||
name = "yokadi-${version}"; | ||
version = "1.1.1"; |
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.
Please specify only pname
and version
, no name
.
@@ -0,0 +1,26 @@ | |||
{ stdenv, fetchurl, python3Packages }: |
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.
Don't pass python3Packages
, but rather the packages directly.
pkgs/top-level/all-packages.nix
Outdated
@@ -18200,6 +18200,8 @@ with pkgs; | |||
|
|||
inherit (gnome3) yelp; | |||
|
|||
yokadi = callPackage ../applications/misc/yokadi {}; |
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.
python3Packages.callPackage
description = "A command line oriented, sqlite powered, todo-list"; | ||
homepage = https://yokadi.github.io/index.html; | ||
license = licenses.gpl3; | ||
maintainers = maintainers.nipav; |
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.
This should be a list.
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.
So here I'm guessing that maintainers
needs to be set to a list, such as this maintainers = [ maintainers.nipav ];
?
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.
Correct.
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.
Ok, thank you. I'll fix everything else and push.
sqlalchemy, setproctitle, icalendar, pycrypto }: | ||
|
||
buildPythonApplication rec { | ||
pname = "yokadi-${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
should not include version:
pname = "yokadi";
They are mixed in together in
{ name ? "${attrs.pname}-${attrs.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.
(Don't forget to fix fetchurl
after this change.)
meta = with stdenv.lib; { | ||
description = "A command line oriented, sqlite powered, todo-list"; | ||
homepage = https://yokadi.github.io/index.html; | ||
license = licenses.gpl3; |
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.
It should be licenses.gpl3Plus
. (See https://github.com/agateau/yokadi/blob/master/yokadi/__init__.py#L6)
Ok, fixed. @rasendubi |
@GrahamcOfBorg build yokadi |
Success on aarch64-linux (full log) Partial log (click to expand)
|
Please specify an appropriate |
@GrahamcOfBorg build yokadi |
Success on x86_64-linux (full log) Partial log (click to expand)
|
Success on aarch64-linux (full log) Partial log (click to expand)
|
@nipav Thanks for your contribution! |
Motivation for this change
Yokadi is an easy-to-use TODO manager.
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)