-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
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
flac: 1.4.3 -> 1.5.0; modernize derivation #381219
base: staging
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! I think the release is still in progress, if the website is going to be updated shortly, then we can reduce the number of changes needed here.
src = fetchFromGitHub { | ||
owner = "xiph"; | ||
repo = "flac"; | ||
tag = finalAttrs.version; | ||
hash = "sha256-B6XRai5UOAtY/7JXNbI3YuBgazi1Xd2ZOs6vvLq9LIs="; | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The release on GitHub is very recent, I expect https://xiph.org/flac/download.html will be updated as well with the new release later, so we can continue to take it from there.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's not do that for two reasons:
- Github seems to be the primary place of the source code, so that is where it will be first and foremost
- I have yet to forget the xz incident and I hope you haven't either
pkgs/by-name/fl/flac/package.nix
Outdated
|
||
CFLAGS = [ | ||
"-O3" | ||
"-funroll-loops" | ||
]; | ||
CXXFLAGS = [ "-O3" ]; | ||
|
||
# doCheck = true; # takes lots of time | ||
doCheck = false; # takes lots of time |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don’t know why it ended up being commented, but if the tests were enabled previously, why disable them now?
pkgs/by-name/fl/flac/package.nix
Outdated
bsd3 | ||
fdl13Only | ||
gpl2Only | ||
lgpl21Only |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In at least this file, it’s LGPL 2.1 or later.
pkgs/by-name/fl/flac/package.nix
Outdated
license = with lib.licenses; [ | ||
bsd3 | ||
fdl13Only | ||
gpl2Only |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In at least this file, it’s GPL 2 or later.
homepage = "https://xiph.org/flac/"; | ||
description = "Library and tools for encoding and decoding the FLAC lossless audio file format"; | ||
changelog = "https://xiph.org/flac/changelog.html"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I expect the website will be updated for 1.5, if it’s not there in a few days we can ask on the mailing list what the plans are. (I haven’t seen an announcement there yet, so I suppose the release is still in progress.) I would keep the metadata pointing at the website as long as it’s up to date, I think the xiph.org domain carries a bit more weight than a GitHub repository.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
xiph domain may carry more weight, but like that, this will be the changelog for version 1.5.0:
https://xiph.org/flac/changelog.html
when it could have been:
https://github.com/xiph/flac/releases/tag/1.5.0
meanwhile, this could have been the changelog for version 1.3.3:
https://github.com/xiph/flac/releases/tag/1.3.3
but it's this:
https://xiph.org/flac/changelog.html (have fun scrolling)
if I haven't changed your mind, I will revert it
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.