nixpkgs/pkgs/development/tools/misc/md2man/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

26 lines
587 B
Nix

{ lib, buildGoPackage, fetchFromGitHub }:
with lib;
buildGoPackage rec {
pname = "go-md2man";
version = "1.0.6";
goPackagePath = "github.com/cpuguy83/go-md2man";
src = fetchFromGitHub {
rev = "v${version}";
owner = "cpuguy83";
repo = "go-md2man";
sha256 = "1rm3zjrmfpzy0l3qp02xmd5pqzl77pdql9pbxhl0k1qw2vfzrjv6";
};
meta = {
description = "Go tool to convert markdown to man pages";
license = licenses.mit;
homepage = https://github.com/cpuguy83/go-md2man;
maintainers = with maintainers; [offline];
platforms = platforms.unix;
};
}