asciinema: Move to go-packages

This commit is contained in:
William A. Kennington III 2015-09-02 17:43:36 -07:00
parent acd17d21b3
commit 8f34c44824
3 changed files with 8 additions and 23 deletions

View file

@ -1,22 +0,0 @@
{ stdenv, fetchFromGitHub, goPackages }:
goPackages.buildGoPackage rec {
name = "asciinema-${version}";
version = "1.1.1";
goPackagePath = "github.com/asciinema/asciinema";
src = fetchFromGitHub {
owner = "asciinema";
repo = "asciinema";
rev = "d6f7cabcd085e237872f13d0ab5580964cb64fb2";
sha256 = "0ip7wcqzf5wax99c1fjmnwd38q88z1xiyv9cfbjyk47npdqb8173";
};
meta = {
homepage = https://asciinema.org/;
license = stdenv.lib.licenses.gpl3;
description = "Terminal session recorder";
maintainers = with stdenv.lib.maintainers; [ lassulus ];
};
}

View file

@ -611,7 +611,7 @@ let
ascii = callPackage ../tools/text/ascii { };
asciinema = callPackage ../tools/misc/asciinema { };
asciinema = pkgs.goPackages.asciinema.bin // { outputs = [ "bin" ]; };
asymptote = callPackage ../tools/graphics/asymptote {
texLive = texLiveAggregationFun {

View file

@ -167,6 +167,13 @@ let
sha256 = "0gwplb1b4fvav1vjf4b2dypy5rcp2w41vrbxkd1dsmac870cy75p";
};
asciinema = buildFromGitHub {
rev = "v1.1.1";
owner = "asciinema";
repo = "asciinema";
sha256 = "0k48k8815k433s25lh8my2swl89kczp0m2gbqzjlpy1xwmk06nxc";
};
asn1-ber = buildGoPackage rec {
rev = "f4b6f4a84f5cde443d1925b5ec185ee93c2bdc72";
name = "asn1-ber-${stdenv.lib.strings.substring 0 7 rev}";