commit d4cc28f367ff6e43d51afc8b4be018aa7385cf86 parent 74d2779f1cd1b8424f38fa5095885e15062aaeac Author: William Casarin <jb55@jb55.com> Date: Sat, 1 Jun 2019 18:01:30 -0700 nix stuff Diffstat:
A | default.nix | | | 19 | +++++++++++++++++++ |
1 file changed, 19 insertions(+), 0 deletions(-)
diff --git a/default.nix b/default.nix @@ -0,0 +1,19 @@ +{ stdenv, bison, flex }: + +stdenv.mkDerivation rec { + name = "bcalc"; + version = "0.1"; + + src = ./.; + + installFlags = "PREFIX=$(out)"; + + buildInputs = [ bison flex ]; + + meta = with stdenv.lib; { + description = "A calculator that understands bitcoin units"; + homepage = "https://github.com/jb55/bcalc"; + maintainers = with maintainers; [ jb55 ]; + license = licenses.mit; + }; +}