1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/applications/virtualization/umoci/default.nix

26 lines
625 B
Nix
Raw Normal View History

2020-02-24 20:52:34 +00:00
{ lib, fetchFromGitHub, buildGoPackage }:
2019-10-29 15:34:59 +00:00
buildGoPackage rec {
pname = "umoci";
2020-02-24 20:52:34 +00:00
version = "0.4.5";
2019-10-29 15:34:59 +00:00
src = fetchFromGitHub {
owner = "openSUSE";
repo = "umoci";
rev = "v${version}";
2020-02-24 20:52:34 +00:00
sha256 = "1gzj4nnys73wajdwjn5jsskvnhzh8s2vmyl76ax8drpvw19bd5g3";
2019-10-29 15:34:59 +00:00
};
2020-02-24 20:52:34 +00:00
goPackagePath = "github.com/openSUSE/umoci";
buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version}" ];
meta = with lib; {
2019-10-29 15:34:59 +00:00
description = "umoci modifies Open Container images";
2020-02-24 20:52:34 +00:00
homepage = "https://umo.ci";
2019-10-29 15:34:59 +00:00
license = licenses.asl20;
maintainers = with maintainers; [ zokrezyl ];
platforms = platforms.linux;
};
}