mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
30 lines
793 B
Nix
30 lines
793 B
Nix
{ buildGoModule, fetchFromGitHub, lib }:
|
|
|
|
buildGoModule rec {
|
|
pname = "mod";
|
|
version = "0.2.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "marwan-at-work";
|
|
repo = "mod";
|
|
rev = "v${version}";
|
|
sha256 = "1v7qy0q6fb9amcggwzdygl290zhr3w3zgmig2rm5zx91kw973sqc";
|
|
};
|
|
|
|
modSha256 = "1s33i4kp1vzfp97909pyzdlvi69siw1i2lbi2kbp9yrn163w6928";
|
|
|
|
subPackages = [ "cmd/mod" ];
|
|
|
|
meta = with lib; {
|
|
description = "Automated Semantic Import Versioning Upgrades for Go";
|
|
longDescription = ''
|
|
Command line tool to upgrade/downgrade Semantic Import Versioning in Go
|
|
Modules.
|
|
'';
|
|
homepage = https://github.com/marwan-at-work/mod;
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ kalbasit ];
|
|
platforms = platforms.linux ++ platforms.darwin;
|
|
};
|
|
}
|