tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
rednotebook: 1.8.1 -> 2.3
Orivej Desh
8 years ago
b48d9542
2b8d48a9
+28
-11
3 changed files
expand all
collapse all
unified
split
pkgs
applications
editors
rednotebook
default.nix
top-level
all-packages.nix
python-packages.nix
+25
-10
pkgs/applications/editors/rednotebook/default.nix
···
1
-
{ lib, buildPythonPackage, fetchurl, pygtk, pywebkitgtk, pyyaml, chardet }:
0
0
0
2
3
-
buildPythonPackage rec {
4
-
name = "rednotebook-1.8.1";
0
5
6
-
src = fetchurl {
7
-
url = "mirror://sourceforge/rednotebook/${name}.tar.gz";
8
-
sha256 = "00b7s4xpqpxsbzjvjx9qsx5d84m9pvn383c5di1nsfh35pig0rzn";
0
0
9
};
10
11
-
# no tests available
12
doCheck = false;
13
14
-
propagatedBuildInputs = [ pygtk pywebkitgtk pyyaml chardet ];
0
0
0
0
0
0
0
0
0
15
16
meta = with lib; {
17
-
homepage = http://rednotebook.sourceforge.net/index.html;
18
description = "A modern journal that includes a calendar navigation, customizable templates, export functionality and word clouds";
19
license = licenses.gpl2;
20
-
maintainers = with maintainers; [ tstrobel ];
21
};
22
}
···
1
+
{ lib, buildPythonApplication, fetchFromGitHub
2
+
, gdk_pixbuf, glib, gtk3, pango, webkitgtk
3
+
, pygobject3, pyyaml
4
+
}:
5
6
+
buildPythonApplication rec {
7
+
name = "rednotebook-${version}";
8
+
version = "2.3";
9
10
+
src = fetchFromGitHub {
11
+
owner = "jendrikseipp";
12
+
repo = "rednotebook";
13
+
rev = "v${version}";
14
+
sha256 = "0zkfid104hcsf20r6829v11wxdghqkd3j1zbgyvd1s7q4nxjn5lj";
15
};
16
17
+
# We have not packaged tests.
18
doCheck = false;
19
20
+
propagatedBuildInputs = [
21
+
gdk_pixbuf glib gtk3 pango webkitgtk
22
+
pygobject3 pyyaml
23
+
];
24
+
25
+
makeWrapperArgs = [
26
+
"--set GI_TYPELIB_PATH $GI_TYPELIB_PATH"
27
+
"--prefix XDG_DATA_DIRS : $out/share"
28
+
"--suffix XDG_DATA_DIRS : $XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH"
29
+
];
30
31
meta = with lib; {
32
+
homepage = http://rednotebook.sourceforge.net/;
33
description = "A modern journal that includes a calendar navigation, customizable templates, export functionality and word clouds";
34
license = licenses.gpl2;
35
+
maintainers = with maintainers; [ orivej tstrobel ];
36
};
37
}
+2
pkgs/top-level/all-packages.nix
···
16361
16362
recode = callPackage ../tools/text/recode { };
16363
0
0
16364
remotebox = callPackage ../applications/virtualization/remotebox { };
16365
16366
retroshare = libsForQt5.callPackage ../applications/networking/p2p/retroshare { };
···
16361
16362
recode = callPackage ../tools/text/recode { };
16363
16364
+
rednotebook = python3Packages.callPackage ../applications/editors/rednotebook { };
16365
+
16366
remotebox = callPackage ../applications/virtualization/remotebox { };
16367
16368
retroshare = libsForQt5.callPackage ../applications/networking/p2p/retroshare { };
+1
-1
pkgs/top-level/python-packages.nix
···
22735
};
22736
};
22737
22738
-
redNotebook = callPackage ../applications/editors/rednotebook { };
22739
22740
uncertainties = callPackage ../development/python-modules/uncertainties { };
22741
···
22735
};
22736
};
22737
22738
+
redNotebook = pkgs.rednotebook; # Backwards compatibility alias.
22739
22740
uncertainties = callPackage ../development/python-modules/uncertainties { };
22741