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

dateutils: init at 0.4.1 #22512

Merged
merged 1 commit into from
Feb 10, 2017
Merged

dateutils: init at 0.4.1 #22512

merged 1 commit into from
Feb 10, 2017

Conversation

paperdigits
Copy link
Contributor

@paperdigits paperdigits commented Feb 7, 2017

Motivation for this change

Package a nice CLI app for computing dates. Particularly useful for finding relative dates.

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

Copy link
Member

@FRidh FRidh left a comment

Choose a reason for hiding this comment

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

Thanks for the PR. Some minor changes are needed.

{ stdenv, fetchurl }:

stdenv.mkDerivation rec {
version = "0.4.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 fix indentation in this file

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I hope I've done that correctly, thanks.

Copy link
Member

Choose a reason for hiding this comment

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

two spaces are needed. Here it's correct.

version = "0.4.1";
name = "dateutils-${version}";

src =fetchurl {
Copy link
Member

Choose a reason for hiding this comment

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

I think you're supposed to use fetchFromBitbucket

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Is this the preference? It can't find the make file correctly when I use the fetchFromBitbucket.

homepage = http://www.fresse.org/dateutils/;
license = licenses.bsd3;
platforms = platforms.linux;
maintainers = [ maintainers.paperdigits ];
Copy link
Member

Choose a reason for hiding this comment

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

did you add yourself to lib/maintainers.nix?

};

meta = with stdenv.lib; {
description = "Virtual lighttable and darkroom for photographers";
Copy link
Contributor

Choose a reason for hiding this comment

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

Please also fix the description, and any other metadata that may have been copypasted

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've done that, thanks.

@@ -358,6 +358,7 @@
paholg = "Paho Lurie-Gregg <paho@paholg.com>";
pakhfn = "Fedor Pakhomov <pakhfn@gmail.com>";
palo = "Ingolf Wanger <palipalo9@googlemail.com>";
paperdigits = "Mica Semrick <mica@silentumbrella.com>";
Copy link
Contributor

Choose a reason for hiding this comment

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

Should be spaces, not tab

name = "dateutils-${version}";

src =fetchurl {
url = "https://bitbucket.org/hroptatyr/dateutils/downloads/${name}.tar.xz";
Copy link
Member

Choose a reason for hiding this comment

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

but here its not

@paperdigits
Copy link
Contributor Author

Thanks for your patients, I've attempted to correct the cited problems.

@cpages cpages merged commit 4059a29 into NixOS:master Feb 10, 2017
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

3 participants