diff --git a/pkgs/tools/audio/glyr/default.nix b/pkgs/tools/audio/glyr/default.nix new file mode 100644 index 000000000000..e98667b8c04a --- /dev/null +++ b/pkgs/tools/audio/glyr/default.nix @@ -0,0 +1,31 @@ +{ stdenv, fetchFromGitHub, cmake +, curl, glib, sqlite, pkgconfig }: + +stdenv.mkDerivation rec { + version = "1.0.10"; + name = "glyr-${version}"; + + src = fetchFromGitHub { + owner = "sahib"; + repo = "glyr"; + rev = "${version}"; + sha256 = "1miwbqzkhg0v3zysrwh60pj9sv6ci4lzq2vq2hhc6pc6hdyh8xyr"; + }; + + nativeBuildInputs = [ cmake pkgconfig ]; + buildInputs = [ sqlite glib curl ]; + + configurePhase = '' + cmake -DCMAKE_INSTALL_PREFIX=$out + ''; + + meta = with stdenv.lib; { + license = licenses.lgpl3; + description = "A music related metadata searchengine"; + homepage = https://github.com/sahib/glyr; + maintainers = [ maintainers.sternenseemann ]; + platforms = platforms.linux; # TODO macOS would be possible + }; +} + + diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index b4345da94667..db7653a5767e 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -539,6 +539,8 @@ with pkgs; gcsfuse = callPackage ../tools/filesystems/gcsfuse { }; + glyr = callPackage ../tools/audio/glyr { }; + lastpass-cli = callPackage ../tools/security/lastpass-cli { }; pass = callPackage ../tools/security/pass { };