From 834543ab6e2b23b5343337e547961e43fe82f035 Mon Sep 17 00:00:00 2001 From: Kiba Fox Date: Thu, 18 Aug 2016 10:33:30 -0400 Subject: [PATCH] pythonPackages.asciinema: init at 1.3.0 --- pkgs/top-level/python-packages.nix | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 269db2d555d7..665eb6990a70 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -1169,6 +1169,33 @@ in modules // { }; }); + asciinema = buildPythonPackage rec { + name = "asciinema-${version}"; + version = "1.3.0"; + + disabled = pythonOlder "3.3"; + + buildInputs = with self; [ nose ]; + propagatedBuildInputs = with self; [ requests2 ]; + + src = pkgs.fetchFromGitHub { + owner = "asciinema"; + repo = "asciinema"; + rev = "v${version}"; + sha256 = "1hx7xipyy9w72iwlawldlif9qk3f7b8jx8c1wcx114pqbjz5d347"; + }; + + checkPhase = '' + nosetests + ''; + + meta = { + description = "Terminal session recorder and the best companion of asciinema.org"; + homepage = https://asciinema.org/; + license = with licenses; [ gpl3 ]; + }; + }; + astroid = buildPythonPackage rec { name = "astroid-1.4.4";