nixpkgs/pkgs/johaus/default.nix

22 lines
445 B
Nix
Raw Normal View History

2020-02-06 23:57:09 +00:00
{ pkgs ? import <nixpkgs> { } }:
let
version = "1.1.0";
repo = pkgs.fetchFromGitHub {
owner = "Xe";
repo = "johaus";
rev = "v${version}";
hash = "sha256:0nwcfv40mhiyp2zzzsxg0j7717asdmhshg40dbnkwmqwhiqikdnb";
};
out = pkgs.buildGoModule {
pname = "johaus";
version = version;
src = repo;
modSha256 = "sha256:1s3yj3b5zs9cqss2p2qdsk5yxmwna53nnk62zf78j6whan2kqags";
subPackages = [ "." ];
};
in out