summary refs log tree commit diff
path: root/pkgs/tools/misc/asciinema/default.nix
blob: cee4ec925c01d331b1d6696c7b10690130099fdf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{ stdenv, lib, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn }:

buildGoPackage rec {
  name = "asciinema-${version}";
  version = "20160520-${stdenv.lib.strings.substring 0 7 rev}";
  rev = "6683bdaa263d0ce3645b87fe54aa87276b89988a";

  
  goPackagePath = "github.com/asciinema/asciinema";

  src = fetchgit {
    inherit rev;
    url = "https://github.com/asciinema/asciinema";
    sha256 = "08jyvnjpd5jdgyvkly9fswac4p10bqim5v4rhmivpg4y8pbcmxkz";
  };
}