1 { lib, buildGoPackage, fetchFromGitHub }:
5 version = "0.6.4-with-no-mangle-double-dash";
7 src = fetchFromGitHub {
11 sha256 = "0zxax0kl8wqpkzmw9ij4qgfhjbk4r7996pjyp9xf5icyk8knp00q";
14 goPackagePath = "github.com/docopt/${pname}";
18 subPackages = [ "./" ];
21 install -D -m 755 ./go/src/$goPackagePath/docopts.sh $out/bin/docopts.sh
25 homepage = "https://github.com/docopt/${pname}";
26 description = "docopt CLI tool for shell scripting";
27 license = licenses.mit;
28 maintainers = [ maintainers.confus ];
29 platforms = platforms.unix;