Skip to content

Instantly share code, notes, and snippets.

@carlthome
Last active July 2, 2023 20:12
Show Gist options
  • Save carlthome/c12d0e5e6998e1aae8649dca830bbf33 to your computer and use it in GitHub Desktop.
Save carlthome/c12d0e5e6998e1aae8649dca830bbf33 to your computer and use it in GitHub Desktop.
mir_eval from nixpkgs example shell
{ pkgs ? import <nixpkgs> { } }:
pkgs.mkShell {
packages = [
(pkgs.python3.withPackages (ps: with ps; [
ipython
mir_eval
]))
];
shellHook = ''
ipython -c 'import mir_eval; print(mir_eval.__version__)'
'';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment