619d6dcc77
GitOrigin-RevId: 870959c7fb3a42af1863bed9e1756086a74eb649
27 lines
735 B
Nix
27 lines
735 B
Nix
# This file was generated by https://github.com/kamilchm/go2nix v1.2.1
|
|
{ lib, buildGoPackage, fetchFromGitHub }:
|
|
|
|
buildGoPackage rec {
|
|
version = "1.0.0";
|
|
pname = "envdir";
|
|
|
|
goPackagePath = "github.com/d10n/envdir";
|
|
|
|
src = fetchFromGitHub {
|
|
rev = "v${version}";
|
|
owner = "d10n";
|
|
repo = "envdir";
|
|
sha256 = "1wdlblj127skgynf9amk7waabc3abbyxys9dvyc6c72zpcpdy5nc";
|
|
};
|
|
|
|
# TODO: is there a way to get the commit ref so we can set main.buildCommit?
|
|
ldflags = [
|
|
"-X main.buildDate=1970-01-01T00:00:00+0000" "-X main.buildVersion=${version}"
|
|
];
|
|
|
|
meta = {
|
|
description = "A go rewrite of envdir";
|
|
homepage = "https://github.com/d10n/envdir";
|
|
maintainers = with lib.maintainers; [ edude03 ];
|
|
};
|
|
}
|