bcalc

cli bitcoin unit calculator
git clone git://jb55.com/bcalc
Log | Files | Refs | README | LICENSE

default.nix (438B)


      1 { nixpkgs ? import <nixpkgs> {} }:
      2 
      3 with nixpkgs;
      4 stdenv.mkDerivation rec {
      5   name = "bcalc";
      6   version = "0.1";
      7 
      8   src = ./.;
      9 
     10   installFlags = "PREFIX=$(out)";
     11 
     12   nativeBuildInputs = [ ];
     13   buildInputs = [ bison flex ];
     14 
     15   meta = with lib; {
     16     description = "A calculator that understands bitcoin units";
     17     homepage = "https://github.com/jb55/bcalc";
     18     maintainers = with maintainers; [ jb55 ];
     19     license = licenses.mit;
     20   };
     21 }