mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 06:33:42 +00:00
066db11215
This reverts commit4e6bf03504
, reversing changes made toafd997aab6
. Instead we propagate those frameworks from the compiler again
30 lines
795 B
Nix
30 lines
795 B
Nix
{ buildGoModule, fetchFromGitHub, lib }:
|
|
|
|
buildGoModule rec {
|
|
pname = "mod";
|
|
version = "0.2.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "marwan-at-work";
|
|
repo = "mod";
|
|
rev = "v${version}";
|
|
sha256 = "0aw6r90xf29wdhgnq580f837ga8yypzfhlzx1f2zj0kdhc58wbr5";
|
|
};
|
|
|
|
modSha256 = "0x7bdhvam9l23cbdqpna8kwg0v6yhgmw0hlbm48bbhjl27lg7svc";
|
|
|
|
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;
|
|
};
|
|
}
|