blob: b9b3aa59a0b1de0238f96d3f3227c00ac696b679 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "go-dbus-factory";
version = "0.0.7.1";
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = pname;
rev = version;
sha256 = "0gj2xxv45gh7wr5ry3mcsi46kdsyq9nbd7znssn34kapiv40ixcx";
};
makeFlags = [ "PREFIX=$(out)" ];
postPatch = ''
sed -i -e 's:/share/gocode:/share/go:' Makefile
'';
meta = with stdenv.lib; {
description = "GoLang DBus factory for the Deepin Desktop Environment";
homepage = https://github.com/linuxdeepin/go-dbus-factory;
license = licenses.gpl3;
platforms = platforms.linux;
maintainers = with maintainers; [ romildo ];
};
}
|