forked from mirrors/nixpkgs
dde-calendar: init at 1.2.5 (#46460)
This commit is contained in:
parent
ba5176551e
commit
e5b904818b
44
pkgs/desktops/deepin/dde-calendar/default.nix
Normal file
44
pkgs/desktops/deepin/dde-calendar/default.nix
Normal file
|
@ -0,0 +1,44 @@
|
|||
{ stdenv, fetchFromGitHub, pkgconfig, qmake, qttools,
|
||||
deepin-gettext-tools, dtkcore, dtkwidget
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "dde-calendar";
|
||||
version = "1.2.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "linuxdeepin";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "1a5zxpz7zncw6mrzv8zmn0j1vk0c8fq0m1xhmnwllffzybrhn4y7";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkgconfig
|
||||
qmake
|
||||
qttools
|
||||
deepin-gettext-tools
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
dtkcore
|
||||
dtkwidget
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs .
|
||||
sed -i translate_desktop.sh \
|
||||
-e "s,/usr/bin/deepin-desktop-ts-convert,deepin-desktop-ts-convert,"
|
||||
sed -i com.deepin.Calendar.service \
|
||||
-e "s,/usr,$out,"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Calendar for Deepin Desktop Environment";
|
||||
homepage = https://github.com/linuxdeepin/dde-calendar;
|
||||
license = licenses.gpl3;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ romildo ];
|
||||
};
|
||||
}
|
|
@ -4,6 +4,7 @@ let
|
|||
packages = self: with self; {
|
||||
|
||||
dbus-factory = callPackage ./dbus-factory { };
|
||||
dde-calendar = callPackage ./dde-calendar { };
|
||||
dde-qt-dbus-factory = callPackage ./dde-qt-dbus-factory { };
|
||||
deepin-gettext-tools = callPackage ./deepin-gettext-tools { };
|
||||
deepin-gtk-theme = callPackage ./deepin-gtk-theme { };
|
||||
|
|
Loading…
Reference in a new issue