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