4c6754c631
Go modules[1] provide a set of sources and corresponding checksums. These sources can be resolved automatically with Nix, so no go2nix is required anymore. [1] https://blog.golang.org/using-go-modules
22 lines
593 B
Nix
22 lines
593 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
name = "up-${version}";
|
|
version = "0.3.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "akavel";
|
|
repo = "up";
|
|
rev = "v${version}";
|
|
sha256 = "1psixyymk98z52yy92lwb75yfins45dw6rif9cxwd7yiascwg2if";
|
|
};
|
|
|
|
modSha256 = "0nfs190rzabphhhyacypz3ic5c4ajlqpx9jiiincs0vxfkmfwnjd";
|
|
|
|
meta = with lib; {
|
|
description = "Ultimate Plumber is a tool for writing Linux pipes with instant live preview";
|
|
homepage = https://github.com/akavel/up;
|
|
maintainers = with maintainers; [ ma27 ];
|
|
license = licenses.asl20;
|
|
};
|
|
}
|