From 2b8d48a9fc82b3e70a4402828cac6603dead937c Mon Sep 17 00:00:00 2001 From: Orivej Desh Date: Mon, 6 Nov 2017 23:20:14 +0000 Subject: [PATCH] rednotebook: move to applications/editors --- .../editors/rednotebook/default.nix | 22 ++++++++++++++++++ pkgs/top-level/python-packages.nix | 23 +------------------ 2 files changed, 23 insertions(+), 22 deletions(-) create mode 100644 pkgs/applications/editors/rednotebook/default.nix diff --git a/pkgs/applications/editors/rednotebook/default.nix b/pkgs/applications/editors/rednotebook/default.nix new file mode 100644 index 000000000000..ed4b16363051 --- /dev/null +++ b/pkgs/applications/editors/rednotebook/default.nix @@ -0,0 +1,22 @@ +{ lib, buildPythonPackage, fetchurl, pygtk, pywebkitgtk, pyyaml, chardet }: + +buildPythonPackage rec { + name = "rednotebook-1.8.1"; + + src = fetchurl { + url = "mirror://sourceforge/rednotebook/${name}.tar.gz"; + sha256 = "00b7s4xpqpxsbzjvjx9qsx5d84m9pvn383c5di1nsfh35pig0rzn"; + }; + + # no tests available + doCheck = false; + + propagatedBuildInputs = [ pygtk pywebkitgtk pyyaml chardet ]; + + meta = with lib; { + homepage = http://rednotebook.sourceforge.net/index.html; + description = "A modern journal that includes a calendar navigation, customizable templates, export functionality and word clouds"; + license = licenses.gpl2; + maintainers = with maintainers; [ tstrobel ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index e8b8bf440360..da7fae5f904e 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -22735,28 +22735,7 @@ EOF }; }; - - redNotebook = buildPythonPackage rec { - name = "rednotebook-1.8.1"; - - src = pkgs.fetchurl { - url = "mirror://sourceforge/rednotebook/${name}.tar.gz"; - sha256 = "00b7s4xpqpxsbzjvjx9qsx5d84m9pvn383c5di1nsfh35pig0rzn"; - }; - - # no tests available - doCheck = false; - - propagatedBuildInputs = with self; [ pygtk pywebkitgtk pyyaml chardet ]; - - meta = { - homepage = http://rednotebook.sourceforge.net/index.html; - description = "A modern journal that includes a calendar navigation, customizable templates, export functionality and word clouds"; - license = licenses.gpl2; - maintainers = with maintainers; [ tstrobel ]; - }; - }; - + redNotebook = callPackage ../applications/editors/rednotebook { }; uncertainties = callPackage ../development/python-modules/uncertainties { };