1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 07:00:43 +00:00
nixpkgs/pkgs/tools/misc/up/default.nix
Maximilian Bosch 4c6754c631
up: repackage with buildGoModule
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
2019-05-12 11:24:00 +02:00

23 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;
};
}