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 ABC verifier library in addition to the executable. #27198

Closed
wants to merge 3 commits into from
Closed

Add ABC verifier library in addition to the executable. #27198

wants to merge 3 commits into from

Conversation

kquick
Copy link
Contributor

@kquick kquick commented Jul 7, 2017

Motivation for this change

The ABC verifier package will build both an executable and a library. This adds the nix specification for building the libabc library for applications needing it.

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.

@bennofs
Copy link
Contributor

bennofs commented Jul 17, 2017

Thanks! Are there some specific reasons for cloning the package, instead of modifying the existing package to install the library as well?

homepage = "https://people.eecs.berkeley.edu/~alanmi/abc/abc.htm";
license = stdenv.lib.licenses.mit;
platforms = stdenv.lib.platforms.unix;
maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
Copy link
Member

Choose a reason for hiding this comment

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

are you @thoughtpolice ?

Copy link
Contributor

Choose a reason for hiding this comment

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

No, sorry. I'll fix this, thank you for catching it.

@kwquick
Copy link
Contributor

kwquick commented Jul 22, 2017

I did not modify the existing package because it uses the name "abc-verifier", but applications wishing to link against libabc would look for the package by the name "abc".

@@ -30,6 +30,6 @@ stdenv.mkDerivation rec {
homepage = "https://people.eecs.berkeley.edu/~alanmi/abc/abc.htm";
license = stdenv.lib.licenses.mit;
platforms = stdenv.lib.platforms.unix;
maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
maintainers = [ ];
Copy link
Member

Choose a reason for hiding this comment

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

Do you want to maintain this package instead?

Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not completely sure of the implications or criteria for package maintenance or the qualification process for maintainers, but I'm tentatively willing to under the assumption that it mostly involves keeping the package up to date and responding to nix-build-related issues for the package.

Copy link
Contributor

Choose a reason for hiding this comment

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

@kwquick that's about the extent of it, if you're still up for it please consider adding yourself as the maintainer.

@kquick kquick mentioned this pull request Oct 19, 2017
8 tasks
@kquick
Copy link
Contributor Author

kquick commented Oct 19, 2017

Replaced by pull request #30566

@kquick kquick closed this Oct 19, 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

7 participants