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

whatmp3: init at 3.8 #92296

Closed
wants to merge 1 commit into from
Closed

whatmp3: init at 3.8 #92296

wants to merge 1 commit into from

Conversation

dominikh
Copy link
Contributor

@dominikh dominikh commented Jul 4, 2020

Motivation for this change
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.

@dominikh
Copy link
Contributor Author

dominikh commented Jul 6, 2020

Good suggestions, thank you.

Copy link
Member

@mdlayher mdlayher left a comment

Choose a reason for hiding this comment

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

LGTM!

✔ ~/src/github.com/nixos/nixpkgs [master|✔] 
11:50 $ nixpkgs-review pr 92296
$ git -c fetch.prune=false fetch --force https://github.com/NixOS/nixpkgs master:refs/nixpkgs-review/0 pull/92296/head:refs/nixpkgs-review/1
remote: Enumerating objects: 6, done.
remote: Counting objects: 100% (6/6), done.
remote: Total 9 (delta 6), reused 6 (delta 6), pack-reused 3
Unpacking objects: 100% (9/9), 1.21 KiB | 51.00 KiB/s, done.
From ssh://github.com/NixOS/nixpkgs
   a54cd1cace0..56619d6ebb7  master               -> refs/nixpkgs-review/0
 + bdd65f3f69d...6329518af37 refs/pull/92296/head -> refs/nixpkgs-review/1  (forced update)
$ git worktree add /home/matt/.cache/nixpkgs-review/pr-92296/nixpkgs 56619d6ebb7bef4f379fd909d6909d93b3121131
Preparing worktree (detached HEAD 56619d6ebb7)
HEAD is now at 56619d6ebb7 Merge pull request #85992 from symphorien/ibus-db
$ git merge --no-commit 6329518af37151d6ba3a6726ac8b25262e513f9c
Auto-merging pkgs/top-level/all-packages.nix
Automatic merge went well; stopped before committing as requested
$ nix build --no-link --keep-going --option build-use-sandbox relaxed -f /home/matt/.cache/nixpkgs-review/pr-92296/build.nix
[3 built, 115 copied (359.8 MiB), 80.8 MiB DL]
https://github.com/NixOS/nixpkgs/pull/92296
1 package built:
whatmp3

$ nix-shell /home/matt/.cache/nixpkgs-review/pr-92296/shell.nix
these paths will be fetched (1.51 MiB download, 8.27 MiB unpacked):
  /nix/store/a4zs0slb4fmmr3js1ik2ckl282515k62-bash-interactive-4.4-p23-doc
  /nix/store/csdsyicqjal4viixw4ispx2hi17r0pz5-readline-7.0p5
  /nix/store/fdc7zi9sk8jlmw0rshcb585xawxb2r5m-bash-interactive-4.4-p23-dev
  /nix/store/k0bldh4a1blg50psfjfkmmsap6zkx9d1-bash-interactive-4.4-p23-man
  /nix/store/x4gd806afbgx0ag1jf8y7blzrrhiyx8q-bash-interactive-4.4-p23
  /nix/store/x718i4nnyhz46hrgmhb3xq6sijaq845x-bash-interactive-4.4-p23-info
copying path '/nix/store/a4zs0slb4fmmr3js1ik2ckl282515k62-bash-interactive-4.4-p23-doc' from 'https://cache.nixos.org'...
copying path '/nix/store/x718i4nnyhz46hrgmhb3xq6sijaq845x-bash-interactive-4.4-p23-info' from 'https://cache.nixos.org'...
copying path '/nix/store/k0bldh4a1blg50psfjfkmmsap6zkx9d1-bash-interactive-4.4-p23-man' from 'https://cache.nixos.org'...
copying path '/nix/store/csdsyicqjal4viixw4ispx2hi17r0pz5-readline-7.0p5' from 'https://cache.nixos.org'...
copying path '/nix/store/x4gd806afbgx0ag1jf8y7blzrrhiyx8q-bash-interactive-4.4-p23' from 'https://cache.nixos.org'...
copying path '/nix/store/fdc7zi9sk8jlmw0rshcb585xawxb2r5m-bash-interactive-4.4-p23-dev' from 'https://cache.nixos.org'...

[nix-shell:~/.cache/nixpkgs-review/pr-92296]$ ./results/whatmp3/bin/whatmp3 --version
.whatmp3-wrapped 3.8

Comment on lines +5 to +6
version = "3.8";
src = fetchFromGitHub {
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
version = "3.8";
src = fetchFromGitHub {
version = "3.8";
src = fetchFromGitHub {

Comment on lines +7 to +10
rev = "v3.8";
owner = "RecursiveForest";
repo = "whatmp3";
sha256 = "0vqczxdk90sdld0yxgc1kknlyszmb4ys1bhr53n39nbhgwssh1df";
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
rev = "v3.8";
owner = "RecursiveForest";
repo = "whatmp3";
sha256 = "0vqczxdk90sdld0yxgc1kknlyszmb4ys1bhr53n39nbhgwssh1df";
owner = "RecursiveForest";
repo = "whatmp3";
rev = "v${version}";
sha256 = "0vqczxdk90sdld0yxgc1kknlyszmb4ys1bhr53n39nbhgwssh1df";

'';

meta = with stdenv.lib; {
description = "whatmp3 transcodes audio files and creates torrents for them";
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
description = "whatmp3 transcodes audio files and creates torrents for them";
description = "Transcodes audio files and creates torrents of them";

@SuperSandro2000
Copy link
Member

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

1 package built:
  • whatmp3

@SuperSandro2000
Copy link
Member

Result of nixpkgs-review pr 92296 run on x86_64-darwin 1

1 package marked as broken and skipped:
  • whatmp3

@dominikh
Copy link
Contributor Author

Sorry, I no longer think this is worth adding to nixpkgs.

@dominikh dominikh closed this Mar 11, 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

4 participants