nixpkgs/pkgs/development/tools/check/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

31 lines
683 B
Nix

{ buildGoPackage
, lib
, fetchFromGitLab
}:
buildGoPackage rec {
pname = "check-unstable";
version = "2018-09-12";
rev = "88db195993f8e991ad402754accd0635490769f9";
goPackagePath = "gitlab.com/opennota/check";
src = fetchFromGitLab {
inherit rev;
owner = "opennota";
repo = "check";
sha256 = "1983xmdkgpqda4qz8ashc6xv1zg5jl4zly3w566grxc5sfxpgf0i";
};
goDeps = ./deps.nix;
meta = with lib; {
description = "A set of utilities for checking Go sources.";
homepage = https://gitlab.com/opennota/check;
license = licenses.gpl3;
maintainers = with maintainers; [ kalbasit ];
platforms = platforms.linux ++ platforms.darwin;
};
}