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

Add dafny; fixup Boogie #22507

Merged
merged 2 commits into from Feb 7, 2017
Merged

Add dafny; fixup Boogie #22507

merged 2 commits into from Feb 7, 2017

Conversation

layus
Copy link
Member

@layus layus commented Feb 6, 2017

Motivation for the change

Introduce dafny, which uses Boogie.
And fix Boogie, because the last edit (changing the baseName) right before merge (#22400) broke it.
Also propote boogie and dafny as toplevel packages, because they both have toplevel standalone executables corresponding to their names.

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.

/cc @obadz ('coz it's dotnet), @taktoa ('coz I changed Boogie), @pSub ('coz he approved the changes to Boogie) and @rycee ('coz he merged Boogie)

@mention-bot
Copy link

@layus, thanks for your PR! By analyzing the history of the files in this pull request, we identified @pSub, @rardiol and @krgn to be potential reviewers.

version = "2017-01-03";
name = "${baseName}-unstable-${version}";
Copy link
Member

Choose a reason for hiding this comment

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

Looks good to me 👍

'';

meta = {
description = "A programming language with built-in specification constructs.";
Copy link
Member

Choose a reason for hiding this comment

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

Descriptions should not end with a period.

Copy link
Member Author

Choose a reason for hiding this comment

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

Right! Fixed.


meta = {
description = "A programming language with built-in specification constructs.";
homepage = "http://research.microsoft.com/dafny";
Copy link
Member

Choose a reason for hiding this comment

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

Nitpick: You don't need quotes around Urls.

Copy link
Member Author

Choose a reason for hiding this comment

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

Unless it is a merge-blocking issue for you, I am going to leave this as-is. There is nothing saying that urls should not be quoted in the CONTRIBUTING.md. And nothing in the nix manual about urls as language values, only paths.

@layus
Copy link
Member Author

layus commented Feb 7, 2017

Fixed according to reviews, and removed the usage of 'lib' that made travis fail.

@pSub pSub merged commit d099c1b into NixOS:master Feb 7, 2017
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

4 participants