mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-02 19:14:14 +00:00
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.
32 lines
882 B
Nix
32 lines
882 B
Nix
{ lib, stdenv, fetchFromGitHub }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libviperfx";
|
|
version = "unstable-2018-01-15";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "vipersaudio";
|
|
repo = "viperfx_core_binary";
|
|
rev = "6f7d0da725affe854f083baf5d90c70e172e4488";
|
|
sha256 = "sha256-hfX46Kk91eQgiO3uhew91I6eEHxazhdGwSkhfNZ+HvQ=";
|
|
};
|
|
|
|
dontBuild = true;
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
install -D libviperfx_x64_linux.so $out/lib/libviperfx.so
|
|
install -D README.md $out/share/licenses/libviperfx/LICENSE
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/vipersaudio/viperfx_core_binary";
|
|
description = "ViPER FX core";
|
|
license = licenses.unfreeRedistributable;
|
|
maintainers = with maintainers; [ rewine ];
|
|
platforms = [ "x86_64-linux" ];
|
|
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
|
|
};
|
|
}
|