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

tap-plugins: init at 1.0.1 #90580

Merged
merged 1 commit into from Jan 12, 2021
Merged

Conversation

fps
Copy link
Contributor

@fps fps commented Jun 16, 2020

Motivation for this change

I needed tap-plugins for an experiment I ran. Once I had finished the expression I thought "Why not send a PR to nixpkgs?". So I did.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • 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 nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

pkgs/applications/audio/tap-plugins/default.nix Outdated Show resolved Hide resolved
pkgs/applications/audio/tap-plugins/default.nix Outdated Show resolved Hide resolved
@@ -20593,6 +20593,8 @@ in

caps = callPackage ../applications/audio/caps { };

tap-plugins = callPackage ../applications/audio/tap-plugins { };
Copy link
Member

Choose a reason for hiding this comment

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

Please sort this alphabetically.

@SuperSandro2000
Copy link
Member

Result of nixpkgs-review pr 90580 run on x86_64-linux 1

1 package built:
  • tap-plugins

@fps
Copy link
Contributor Author

fps commented Dec 1, 2020

Hi!

Thanks for your review. I'll see when I find time to incorporate your suggested changes..

Copy link
Member

@SuperSandro2000 SuperSandro2000 left a comment

Choose a reason for hiding this comment

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

Can you please squash the commits and change the PR title and commit message to tap-plugins: init at 1.0.0

@fps
Copy link
Contributor Author

fps commented Dec 28, 2020

Sorry for being dense. I'm only used to working solo on my own repos. I'll try and sort this out and also add your recommended changes again..

@fps
Copy link
Contributor Author

fps commented Dec 28, 2020

OK, the project was moved to github in the meantime and had a new release. I packaged the new release from github and tried to address your other comments.

@fps fps force-pushed the add-tap-plugins branch 2 times, most recently from db7df07 to cf994d9 Compare December 28, 2020 21:01
@fps
Copy link
Contributor Author

fps commented Jan 5, 2021

@SuperSandro2000 ping :)

pname = "tap-plugins";
version = "1.0.1";

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.

Please use fetchFromGitHub.


buildInputs = [ ladspa-sdk ];

installPhase = ''
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
installPhase = ''
preInstall = ''


installPhase = ''
substituteInPlace Makefile --replace /usr/local "$out"
INSTALL_PLUGINS_DIR="$out"/lib/ladspa INSTALL_RDF_DIR="$out"/share/ladspa/rdf make install
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
INSTALL_PLUGINS_DIR="$out"/lib/ladspa INSTALL_RDF_DIR="$out"/share/ladspa/rdf make install
export INSTALL_PLUGINS_DIR="$out"/lib/ladspa
export INSTALL_RDF_DIR="$out"/share/ladspa/rdf

@fps
Copy link
Contributor Author

fps commented Jan 11, 2021

Hi again,

thanks for your review. I have tried to incorporate them. The exports were no longer necessary. The makefile patch was enough.

@SuperSandro2000 SuperSandro2000 changed the title Add tap-plugins tap-plugins: init at 1.0.1 Jan 11, 2021

src = pkgs.fetchFromGitHub {
owner = "tomszilagyi";
repo = "${pname}";
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
repo = "${pname}";
repo = pname;

@fps
Copy link
Contributor Author

fps commented Jan 11, 2021

Oops, yes, thanks again!

@SuperSandro2000
Copy link
Member

This is a semi-automatic executed nixpkgs-review which does not build all packages (e.g. lumo, tensorflow or pytorch)
If you find some bugs or got suggestions for further things to search or run please reach out to SuperSandro2000 on IRC.

Result of nixpkgs-review pr 90580 run on x86_64-linux 1

1 package built:
  • tap-plugins

@SuperSandro2000 SuperSandro2000 merged commit 769a4a8 into NixOS:master Jan 12, 2021
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

2 participants