1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/tools/reflex/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

25 lines
618 B
Nix

{ lib, fetchFromGitHub, buildGoPackage }:
buildGoPackage rec {
pname = "reflex";
version = "0.2.0";
goPackagePath = "github.com/cespare/reflex";
src = fetchFromGitHub {
owner = "cespare";
repo = "reflex";
rev = "v${version}";
sha256 = "0ccwjmf8rjh03hpbmfiy70ai9dhgvb5vp7albffq0cmv2sl69dqr";
};
meta = with lib; {
description = "A small tool to watch a directory and rerun a command when certain files change";
homepage = https://github.com/cespare/reflex;
license = licenses.mit;
platforms = platforms.unix;
maintainers = with maintainers; [ nicknovitski ];
};
}