From 968cffcefa29b2b785113e66d0a74e912c4945e6 Mon Sep 17 00:00:00 2001 From: Benjamin Staffin Date: Thu, 22 Feb 2024 00:11:33 -0500 Subject: [PATCH] libdjinterop: init at 0.20.1 --- pkgs/by-name/li/libdjinterop/package.nix | 45 ++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 pkgs/by-name/li/libdjinterop/package.nix diff --git a/pkgs/by-name/li/libdjinterop/package.nix b/pkgs/by-name/li/libdjinterop/package.nix new file mode 100644 index 000000000000..93bf2bc8a7ec --- /dev/null +++ b/pkgs/by-name/li/libdjinterop/package.nix @@ -0,0 +1,45 @@ +{ lib +, stdenv +, fetchFromGitHub +, boost +, cmake +, ninja +, pkg-config +, sqlite +, zlib +}: + +stdenv.mkDerivation { + name = "libdjinterop"; + + version = "unstable"; + + src = fetchFromGitHub { + owner = "xsco"; + repo = "libdjinterop"; + rev = "0.20.1"; + hash = "sha256-/iXSRJVFPWqUTVz7z0BNWCq5LOqdNuTI+wx/34JAZfc="; + }; + + nativeBuildInputs = [ + cmake + ninja + pkg-config + ]; + + outputs = [ "out" "dev" ]; + + buildInputs = [ + boost + sqlite + zlib + ]; + + meta = with lib; { + homepage = "https://github.com/xsco/libdjinterop"; + description = "C++ library for access to DJ record libraries"; + license = licenses.lgpl3; + maintainers = with maintainers; [ benley ]; + platforms = platforms.unix; + }; +}