depot/third_party/nixpkgs/pkgs/by-name/ba/bankstown-lv2/package.nix
Default email 23b612e36f Project import generated by Copybara.
GitOrigin-RevId: ae5c332cbb5827f6b1f02572496b141021de335f
2024-01-25 23:12:00 +09:00

34 lines
738 B
Nix

{ lib
, rustPlatform
, fetchFromGitHub
}:
rustPlatform.buildRustPackage rec {
pname = "bankstown-lv2";
version = "1.1.0";
src = fetchFromGitHub {
owner = "chadmed";
repo = "bankstown";
rev = version;
hash = "sha256-IThXEY+mvT2MCw0PSWU/182xbUafd6dtm6hNjieLlKg=";
};
cargoSha256 = "sha256-yRzM4tcYc6mweTpLnnlCeKgP00L2wRgHamtUzK9Kstc=";
installPhase = ''
export LIBDIR=$out/lib
mkdir -p $LIBDIR
make
make install
'';
meta = with lib; {
homepage = "https://github.com/chadmed/bankstown";
description = "Halfway-decent three-stage psychoacoustic bass approximation";
license = licenses.mit;
maintainers = with maintainers; [ yuka ];
platforms = platforms.linux;
};
}