nixpkgs/pkgs/development/libraries/dleyna-core/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

43 lines
766 B
Nix
Raw Normal View History

{ stdenv
, lib
2019-03-16 04:52:48 +00:00
, fetchFromGitHub
, meson
, ninja
, pkg-config
2019-03-16 04:52:48 +00:00
, gupnp
}:
2017-08-30 23:22:49 +01:00
stdenv.mkDerivation rec {
2018-05-28 13:59:57 +01:00
pname = "dleyna-core";
version = "0.7.0";
2017-08-30 23:22:49 +01:00
outputs = [ "out" "dev" ];
2019-03-16 04:52:48 +00:00
setupHook = ./setup-hook.sh;
2017-08-30 23:22:49 +01:00
src = fetchFromGitHub {
owner = "phako";
2018-05-28 13:59:57 +01:00
repo = pname;
2017-08-30 23:22:49 +01:00
rev = "v${version}";
sha256 = "i4L9+iyAdBNtgImbD54jkjYL5hvzeZ2OaAyFrcFmuG0=";
2017-08-30 23:22:49 +01:00
};
2019-03-16 04:52:48 +00:00
nativeBuildInputs = [
meson
ninja
pkg-config
2019-03-16 04:52:48 +00:00
];
2017-08-30 23:22:49 +01:00
2019-03-16 04:52:48 +00:00
propagatedBuildInputs = [
gupnp
];
2017-08-30 23:22:49 +01:00
meta = with lib; {
2017-08-30 23:22:49 +01:00
description = "Library of utility functions that are used by the higher level dLeyna";
homepage = "https://github.com/phako/dleyna-core";
maintainers = with maintainers; [ jtojnar ];
2017-08-30 23:22:49 +01:00
platforms = platforms.linux;
license = licenses.lgpl21Only;
2017-08-30 23:22:49 +01:00
};
}