forked from mirrors/nixpkgs
asciinema: specify license
This commit is contained in:
parent
8acd15d8bf
commit
a844e3517d
|
@ -1,4 +1,8 @@
|
|||
{ lib, python3Packages, fetchFromGitHub, glibcLocales }:
|
||||
{ lib
|
||||
, python3Packages
|
||||
, fetchFromGitHub
|
||||
, glibcLocales
|
||||
}:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "asciinema";
|
||||
|
@ -9,7 +13,7 @@ python3Packages.buildPythonApplication rec {
|
|||
owner = "asciinema";
|
||||
repo = "asciinema";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-ioSNd0Fjk2Fp05lk3HeokIjNYGU0jQEaIDfcFB18mV0=";
|
||||
hash = "sha256-ioSNd0Fjk2Fp05lk3HeokIjNYGU0jQEaIDfcFB18mV0=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
@ -17,16 +21,19 @@ python3Packages.buildPythonApplication rec {
|
|||
--replace "python3" "${python3Packages.python}/bin/python"
|
||||
'';
|
||||
|
||||
checkInputs = [ glibcLocales python3Packages.nose ];
|
||||
checkInputs = [
|
||||
glibcLocales
|
||||
python3Packages.nose
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
LC_ALL=en_US.UTF-8 nosetests
|
||||
'';
|
||||
|
||||
meta = {
|
||||
meta = with lib; {
|
||||
description = "Terminal session recorder and the best companion of asciinema.org";
|
||||
homepage = "https://asciinema.org/";
|
||||
license = with lib.licenses; [ gpl3 ];
|
||||
license = with licenses; [ gpl3Plus ];
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue