2018-07-03 16:17:31 +00:00
|
|
|
{ lib, python3Packages, fetchFromGitHub, glibcLocales }:
|
2016-06-02 18:55:19 +00:00
|
|
|
|
2018-06-03 08:59:58 +00:00
|
|
|
python3Packages.buildPythonApplication rec {
|
|
|
|
pname = "asciinema";
|
2021-10-03 15:52:37 +00:00
|
|
|
version = "2.1.0";
|
2016-06-02 18:55:19 +00:00
|
|
|
|
2016-08-19 10:32:22 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "asciinema";
|
|
|
|
repo = "asciinema";
|
|
|
|
rev = "v${version}";
|
2021-10-03 15:52:37 +00:00
|
|
|
sha256 = "1alcz018jrrpasrmgs8nw775a6pf62xq2xgs54c4mb396prdqy4x";
|
2016-08-19 10:32:22 +00:00
|
|
|
};
|
|
|
|
|
2019-01-14 13:14:38 +00:00
|
|
|
checkInputs = [ glibcLocales python3Packages.nose ];
|
2018-07-03 16:17:31 +00:00
|
|
|
|
2016-08-19 10:32:22 +00:00
|
|
|
checkPhase = ''
|
2018-07-03 16:17:31 +00:00
|
|
|
LC_ALL=en_US.UTF-8 nosetests
|
2016-08-19 10:32:22 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Terminal session recorder and the best companion of asciinema.org";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://asciinema.org/";
|
2016-08-19 10:32:22 +00:00
|
|
|
license = with lib.licenses; [ gpl3 ];
|
2016-06-02 18:55:19 +00:00
|
|
|
};
|
|
|
|
}
|
2016-08-19 10:32:22 +00:00
|
|
|
|