mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-17 06:06:13 +03:00
49c63e498c
These empty inherits were accidentally introduced by https://github.com/NixOS/nixpkgs/pull/66585
36 lines
889 B
Nix
36 lines
889 B
Nix
{ stdenv, fetchFromGitHub, jq, libxml2, go-dbus-generator, deepin }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "dbus-factory";
|
|
version = "3.1.17";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "linuxdeepin";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "1llq8wzgikgpzj7z36fyzk8kjych2h9nzi3x6zv53z0xc1xn4256";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
jq
|
|
libxml2
|
|
go-dbus-generator
|
|
];
|
|
|
|
makeFlags = [ "GOPATH=${placeholder "out"}/share/go" ];
|
|
|
|
postPatch = ''
|
|
sed -i -e 's:/share/gocode:/share/go:' Makefile
|
|
'';
|
|
|
|
passthru.updateScript = deepin.updateScript { name = "${pname}-${version}"; };
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Generates static DBus bindings for Golang and QML at build-time";
|
|
homepage = https://github.com/linuxdeepin/dbus-factory;
|
|
license = licenses.gpl3;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ romildo ];
|
|
};
|
|
}
|