mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
libmanette: init at 0.2.1
This commit is contained in:
parent
9364a931e9
commit
ce3584860c
36
pkgs/development/libraries/libmanette/default.nix
Normal file
36
pkgs/development/libraries/libmanette/default.nix
Normal file
@ -0,0 +1,36 @@
|
||||
{ stdenv, fetchurl, ninja, meson, pkgconfig, vala, gobjectIntrospection
|
||||
, glib, libgudev, libevdev, gnome3 }:
|
||||
|
||||
let
|
||||
version = "0.2.1";
|
||||
pname = "libmanette";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
name = "${pname}-${version}";
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "14vqz30p4693yy3yxs0gj858x25sl2kawib1g9lj8g5frgl0hd82";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ meson ninja pkgconfig vala gobjectIntrospection ];
|
||||
buildInputs = [ glib libgudev libevdev ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
passthru = {
|
||||
updateScript = gnome3.updateScript {
|
||||
packageName = pname;
|
||||
};
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A simple GObject game controller library";
|
||||
homepage = https://wiki.gnome.org/Apps/Builder;
|
||||
license = licenses.lgpl21Plus;
|
||||
maintainers = gnome3.maintainers;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
@ -10625,6 +10625,8 @@ with pkgs;
|
||||
|
||||
libmad = callPackage ../development/libraries/libmad { };
|
||||
|
||||
libmanette = callPackage ../development/libraries/libmanette { };
|
||||
|
||||
libmatchbox = callPackage ../development/libraries/libmatchbox { };
|
||||
|
||||
libmatheval = callPackage ../development/libraries/libmatheval {
|
||||
|
Loading…
Reference in New Issue
Block a user