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

yokadi: init at 1.1.1 #34900

Merged
merged 1 commit into from Feb 13, 2018
Merged

yokadi: init at 1.1.1 #34900

merged 1 commit into from Feb 13, 2018

Conversation

npavlinek
Copy link
Contributor

@npavlinek npavlinek commented Feb 12, 2018

Motivation for this change

Yokadi is an easy-to-use TODO manager.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.


python3Packages.buildPythonApplication rec {
name = "yokadi-${version}";
version = "1.1.1";
Copy link
Member

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 }:
Copy link
Member

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.

@@ -18200,6 +18200,8 @@ with pkgs;

inherit (gnome3) yelp;

yokadi = callPackage ../applications/misc/yokadi {};
Copy link
Member

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;
Copy link
Member

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.

Copy link
Contributor Author

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 ];?

Copy link
Member

Choose a reason for hiding this comment

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

Correct.

Copy link
Contributor Author

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}";
Copy link
Member

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}"
.

Copy link
Member

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;
Copy link
Member

Choose a reason for hiding this comment

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

@npavlinek
Copy link
Contributor Author

Ok, fixed. @rasendubi

@dotlambda
Copy link
Member

@GrahamcOfBorg build yokadi

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Partial log (click to expand)

reading manifest template 'MANIFEST.in'
warning: no files found matching 'version'
writing manifest file 'yokadi.egg-info/SOURCES.txt'
running build_ext

----------------------------------------------------------------------
Ran 0 tests in 0.001s

OK
/nix/store/52y7kh1d0c4i86v1nnl87458cpbbz7jm-yokadi-1.1.1

@dotlambda
Copy link
Member

Ran 0 tests in 0.001s

Please specify an appropriate checkPhase. If no tests are implement, please set doCheck = false and add a comment stating why they are disabled.

@rasendubi
Copy link
Member

@GrahamcOfBorg build yokadi

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Partial log (click to expand)

post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/yfvkmfb8dimfq9chcsrysb8glbz7842p-yokadi-1.1.1
gzipping man pages under /nix/store/yfvkmfb8dimfq9chcsrysb8glbz7842p-yokadi-1.1.1/share/man/
strip is /nix/store/5qj61lcvzlap87rf6blvf8p577d482bv-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/yfvkmfb8dimfq9chcsrysb8glbz7842p-yokadi-1.1.1/lib  /nix/store/yfvkmfb8dimfq9chcsrysb8glbz7842p-yokadi-1.1.1/bin 
patching script interpreter paths in /nix/store/yfvkmfb8dimfq9chcsrysb8glbz7842p-yokadi-1.1.1
checking for references to /tmp/nix-build-yokadi-1.1.1.drv-0 in /nix/store/yfvkmfb8dimfq9chcsrysb8glbz7842p-yokadi-1.1.1...
wrapping `/nix/store/yfvkmfb8dimfq9chcsrysb8glbz7842p-yokadi-1.1.1/bin/yokadid'...
wrapping `/nix/store/yfvkmfb8dimfq9chcsrysb8glbz7842p-yokadi-1.1.1/bin/yokadi'...
/nix/store/yfvkmfb8dimfq9chcsrysb8glbz7842p-yokadi-1.1.1

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Partial log (click to expand)

post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/r1485c9h8ywks318a6nwnhnhvkrkscsl-yokadi-1.1.1
gzipping man pages under /nix/store/r1485c9h8ywks318a6nwnhnhvkrkscsl-yokadi-1.1.1/share/man/
strip is /nix/store/xmpjypwjmp2qi1chs5kr0hacnh161ls4-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/r1485c9h8ywks318a6nwnhnhvkrkscsl-yokadi-1.1.1/lib  /nix/store/r1485c9h8ywks318a6nwnhnhvkrkscsl-yokadi-1.1.1/bin
patching script interpreter paths in /nix/store/r1485c9h8ywks318a6nwnhnhvkrkscsl-yokadi-1.1.1
checking for references to /build in /nix/store/r1485c9h8ywks318a6nwnhnhvkrkscsl-yokadi-1.1.1...
wrapping `/nix/store/r1485c9h8ywks318a6nwnhnhvkrkscsl-yokadi-1.1.1/bin/yokadi'...
wrapping `/nix/store/r1485c9h8ywks318a6nwnhnhvkrkscsl-yokadi-1.1.1/bin/yokadid'...
/nix/store/r1485c9h8ywks318a6nwnhnhvkrkscsl-yokadi-1.1.1

@rasendubi rasendubi merged commit 1313324 into NixOS:master Feb 13, 2018
@rasendubi
Copy link
Member

@nipav Thanks for your contribution!

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

5 participants