571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
39 lines
689 B
Nix
39 lines
689 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
|
|
, boca
|
|
, smooth
|
|
, systemd
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "freac";
|
|
version = "1.1.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "enzo1982";
|
|
repo = "freac";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-bHoRxxhSM7ipRkiBG7hEa1Iw8Z3tOHQ/atngC/3X1a4=";
|
|
};
|
|
|
|
buildInputs = [
|
|
boca
|
|
smooth
|
|
systemd
|
|
];
|
|
|
|
makeFlags = [
|
|
"prefix=$(out)"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Audio converter and CD ripper with support for various popular formats and encoders";
|
|
license = licenses.gpl2Plus;
|
|
homepage = "https://www.freac.org/";
|
|
maintainers = with maintainers; [ shamilton ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|