1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00

envdir: init at 1.0.0

This commit is contained in:
edude03 2018-10-09 15:00:39 +08:00 committed by Michael Francis
parent d3b79965df
commit 7a65f2c43d
No known key found for this signature in database
GPG key ID: 56FF0285EBC09338
2 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,27 @@
# This file was generated by https://github.com/kamilchm/go2nix v1.2.1
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
version = "1.0.0";
name = "envdir-${version}";
goPackagePath = "github.com/d10n/envdir";
src = fetchFromGitHub {
rev = "v${version}";
owner = "d10n";
repo = "envdir";
sha256 = "1wdlblj127skgynf9amk7waabc3abbyxys9dvyc6c72zpcpdy5nc";
};
preBuild = ''
# TODO: is there a way to get the commit ref so we can set main.buildCommit?
buildFlagsArray+=("-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 stdenv.lib.maintainers; [ edude03 ];
};
}

View file

@ -15075,6 +15075,8 @@ with pkgs;
envypn-font = callPackage ../data/fonts/envypn-font { };
envdir = callPackage ../tools/misc/envdir-go { };
fantasque-sans-mono = callPackage ../data/fonts/fantasque-sans-mono {};
fira = callPackage ../data/fonts/fira { };