blob: 6bc5fa827b497a6cbceb472419640a89d8c9b7f0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
{
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
];
};
}
|