nixpkgs/pkgs/tools/audio/glyr/default.nix

32 lines
746 B
Nix
Raw Normal View History

2017-04-02 01:38:14 +02:00
{ 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
};
}