nixpkgs/pkgs/by-name/fv/fverb/package.nix
aleksana 571c71e6f7 treewide: migrate packages to pkgs/by-name, take 1
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.
2024-11-09 20:04:51 +08:00

35 lines
842 B
Nix

{ lib, stdenv
, fetchFromGitHub
, pkg-config
}:
stdenv.mkDerivation rec {
pname = "fverb";
# no release yet: https://github.com/jpcima/fverb/issues/2
version = "unstable-2020-06-09";
src = fetchFromGitHub {
owner = "jpcima";
repo = pname;
rev = "462020e33e24c0204a375dc95e2c28654cc917b8";
sha256 = "12nl7qn7mnykk7v8q0j2n8kfq0xc46n0i45z6qcywspadwnncmd4";
fetchSubmodules = true;
};
nativeBuildInputs = [ pkg-config ];
makeFlags = [ "PREFIX=${placeholder "out"}" ];
postPatch = ''
patchShebangs ./dpf/utils/generate-ttl.sh
'';
meta = with lib; {
description = "Stereo variant of the reverberator by Jon Dattorro, for lv2";
homepage = "https://github.com/jpcima/fverb";
license = licenses.bsd2;
maintainers = [ maintainers.magnetophon ];
platforms = platforms.unix;
};
}