mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
commit
97563ac157
1 changed files with 29 additions and 11 deletions
|
@ -1,22 +1,40 @@
|
|||
{ stdenv, fetchurl, ninja, meson, pkgconfig, vala, gobject-introspection
|
||||
, glib, libgudev, libevdev, gnome3 }:
|
||||
{ stdenv
|
||||
, fetchurl
|
||||
, ninja
|
||||
, meson
|
||||
, pkgconfig
|
||||
, vala
|
||||
, gobject-introspection
|
||||
, glib
|
||||
, libgudev
|
||||
, libevdev
|
||||
, gnome3
|
||||
}:
|
||||
|
||||
let
|
||||
version = "0.2.2";
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libmanette";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
name = "${pname}-${version}";
|
||||
version = "0.2.3";
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "1lpprk2qz1lsqf9xj6kj2ciyc1zmjhj5lwd584qkh7jgz2x9y6wb";
|
||||
sha256 = "1zxh7jn2zg7hivmal5zxam6fxvjsd1w6hlw0m2kysk76b8anbw60";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ meson ninja pkgconfig vala gobject-introspection ];
|
||||
buildInputs = [ glib libgudev libevdev ];
|
||||
nativeBuildInputs = [
|
||||
meson
|
||||
ninja
|
||||
pkgconfig
|
||||
vala
|
||||
gobject-introspection
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
glib
|
||||
libgudev
|
||||
libevdev
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
|
@ -28,7 +46,7 @@ stdenv.mkDerivation {
|
|||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A simple GObject game controller library";
|
||||
homepage = https://wiki.gnome.org/Apps/Builder;
|
||||
homepage = "https://gitlab.gnome.org/aplazas/libmanette";
|
||||
license = licenses.lgpl21Plus;
|
||||
maintainers = gnome3.maintainers;
|
||||
platforms = platforms.unix;
|
||||
|
|
Loading…
Reference in a new issue