mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 06:14:57 +01:00
2641d97cbf
Reproduction script: # Bulk rewrite ./maintainers/scripts/sha-to-sri.py pkgs/by-name # Revert some packages which will need manual intervention for n in amdvlk azure-cli cargo-profiler corefonts flatito fluxcd gist perf_data_converter protoc-gen-js solana-cli swt verible; do git checkout -- "pkgs/by-name/${n:0:2}/${n}" done
38 lines
755 B
Nix
38 lines
755 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
buildGoModule {
|
|
pname = "govers";
|
|
version = "0-unstable-2016-06-23";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "rogpeppe";
|
|
repo = "govers";
|
|
rev = "77fd787551fc5e7ae30696e009e334d52d2d3a43";
|
|
hash = "sha256-lpc8wFKAB+A8mBm9q3qNzTM8ktFS1MYdIvZVFP0eiIs=";
|
|
};
|
|
|
|
vendorHash = null;
|
|
|
|
postPatch = ''
|
|
go mod init github.com/rogpeppe/govers
|
|
'';
|
|
|
|
dontRenameImports = true;
|
|
|
|
doCheck = false; # fails, silently
|
|
|
|
meta = {
|
|
description = "Tool for rewriting Go import paths";
|
|
homepage = "https://github.com/rogpeppe/govers";
|
|
license = lib.licenses.bsd3;
|
|
mainProgram = "govers";
|
|
maintainers = with lib.maintainers; [
|
|
luftmensch-luftmensch
|
|
urandom
|
|
];
|
|
};
|
|
}
|