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

devtodo: init at 0.1.20 #30090

Merged
merged 1 commit into from Oct 4, 2017
Merged

devtodo: init at 0.1.20 #30090

merged 1 commit into from Oct 4, 2017

Conversation

woffs
Copy link
Contributor

@woffs woffs commented Oct 4, 2017

Motivation for this change

use devtodo, which is included in debian and arch

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
    • Linux
  • 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.

description = "A hierarchical command-line task manager";
license = stdenv.lib.licenses.gpl2;
maintainers = [ stdenv.lib.maintainers.woffs ];
};
Copy link
Contributor

Choose a reason for hiding this comment

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

Add platforms.

{ stdenv, fetchurl, readline, ncurses }:

stdenv.mkDerivation rec {
name = "devtodo-${version}";
Copy link
Contributor

Choose a reason for hiding this comment

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

This name is inconsistent with the name of the derivation. I'd suggest renaming the derivation to devtodo, because upstream calls the packages devtodo and devtodo2 and the tools todo and todo2.


buildInputs = [ stdenv readline ncurses ];

meta = {
Copy link
Contributor

Choose a reason for hiding this comment

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

Please use with stdenv.lib.

@woffs
Copy link
Contributor Author

woffs commented Oct 4, 2017

@orivej thanks for your review, I've updated the PR.

@orivej orivej merged commit 050fa69 into NixOS:master Oct 4, 2017
@orivej
Copy link
Contributor

orivej commented Oct 4, 2017

Thank you! See how I've changed it bit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants