
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.
Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.
A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.
This commit was automatically created and can be verified using
nix-build a08b3a4d19
.tar.gz \
--argstr baseRev 78e9caf153f5a339bf1d4c000ff6f0a503a369c8
result/bin/apply-formatting $NIXPKGS_PATH
38 lines
928 B
Nix
38 lines
928 B
Nix
{
|
|
fetchurl,
|
|
lib,
|
|
stdenv,
|
|
IOKit ? null,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "cd-discid";
|
|
version = "1.4";
|
|
|
|
src = fetchurl {
|
|
url = "http://linukz.org/download/${pname}-${version}.tar.gz";
|
|
sha256 = "0qrcvn7227qaayjcd5rm7z0k5q89qfy5qkdgwr5pd7ih0va8rmpz";
|
|
};
|
|
|
|
installFlags = [
|
|
"PREFIX=$(out)"
|
|
"INSTALL=install"
|
|
];
|
|
|
|
buildInputs = [ ] ++ lib.optional stdenv.hostPlatform.isDarwin IOKit;
|
|
|
|
meta = with lib; {
|
|
homepage = "http://linukz.org/cd-discid.shtml";
|
|
license = licenses.gpl2Plus;
|
|
platforms = platforms.unix;
|
|
description = "Command-line utility to get CDDB discid information from a CD-ROM disc";
|
|
mainProgram = "cd-discid";
|
|
|
|
longDescription = ''
|
|
cd-discid is a backend utility to get CDDB discid information
|
|
from a CD-ROM disc. It was originally designed for cdgrab (now
|
|
abcde), but can be used for any purpose requiring CDDB data.
|
|
'';
|
|
};
|
|
}
|