From a611560b26fda9e2d98e230c59a1dc26fef15b41 Mon Sep 17 00:00:00 2001 From: Will Dietz Date: Sun, 13 Jan 2019 16:25:12 -0600 Subject: [PATCH 1/3] asciinema: 2.0.1 -> 2.0.2 https://github.com/asciinema/asciinema/blob/v2.0.2/CHANGELOG.md#202-2019-01-12 --- pkgs/tools/misc/asciinema/default.nix | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/pkgs/tools/misc/asciinema/default.nix b/pkgs/tools/misc/asciinema/default.nix index daaffbf080f..f3fe081eeae 100644 --- a/pkgs/tools/misc/asciinema/default.nix +++ b/pkgs/tools/misc/asciinema/default.nix @@ -2,7 +2,7 @@ python3Packages.buildPythonApplication rec { pname = "asciinema"; - version = "2.0.1"; + version = "2.0.2"; buildInputs = with python3Packages; [ nose ]; propagatedBuildInputs = with python3Packages; [ requests ]; @@ -11,14 +11,9 @@ python3Packages.buildPythonApplication rec { owner = "asciinema"; repo = "asciinema"; rev = "v${version}"; - sha256 = "09m9agkslrbm36y8pjqhg5nmyz9hppjyhafhzpglnadhfgwqzznr"; + sha256 = "1a2pysxnp6icyd08mgf66xr6f6j0irnfxdpf3fmzcz31ix7l9kc4"; }; - patchPhase = '' - # disable one test which is failing with -> OSError: out of pty devices - rm tests/pty_recorder_test.py - ''; - checkInputs = [ glibcLocales ]; checkPhase = '' From bc8e15eec4a022f455995d459e7f0c302622f2c1 Mon Sep 17 00:00:00 2001 From: worldofpeace Date: Mon, 14 Jan 2019 08:14:38 -0500 Subject: [PATCH 2/3] asciinema: move nose to checkInputs --- pkgs/tools/misc/asciinema/default.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkgs/tools/misc/asciinema/default.nix b/pkgs/tools/misc/asciinema/default.nix index f3fe081eeae..1915d0dc842 100644 --- a/pkgs/tools/misc/asciinema/default.nix +++ b/pkgs/tools/misc/asciinema/default.nix @@ -4,7 +4,6 @@ python3Packages.buildPythonApplication rec { pname = "asciinema"; version = "2.0.2"; - buildInputs = with python3Packages; [ nose ]; propagatedBuildInputs = with python3Packages; [ requests ]; src = fetchFromGitHub { @@ -14,7 +13,7 @@ python3Packages.buildPythonApplication rec { sha256 = "1a2pysxnp6icyd08mgf66xr6f6j0irnfxdpf3fmzcz31ix7l9kc4"; }; - checkInputs = [ glibcLocales ]; + checkInputs = [ glibcLocales python3Packages.nose ]; checkPhase = '' LC_ALL=en_US.UTF-8 nosetests From 66cf8c82aef31cbe84f63b54d22d261664f6ff5d Mon Sep 17 00:00:00 2001 From: worldofpeace Date: Mon, 14 Jan 2019 08:21:50 -0500 Subject: [PATCH 3/3] asciinema: drop requests See: https://github.com/asciinema/asciinema/commit/4493ad454fcd0f21c621889c4cd429861b270af7 --- pkgs/tools/misc/asciinema/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/tools/misc/asciinema/default.nix b/pkgs/tools/misc/asciinema/default.nix index 1915d0dc842..d42c666e967 100644 --- a/pkgs/tools/misc/asciinema/default.nix +++ b/pkgs/tools/misc/asciinema/default.nix @@ -4,8 +4,6 @@ python3Packages.buildPythonApplication rec { pname = "asciinema"; version = "2.0.2"; - propagatedBuildInputs = with python3Packages; [ requests ]; - src = fetchFromGitHub { owner = "asciinema"; repo = "asciinema";