ratio

cli rational number calculator
git clone git://jb55.com/ratio
Log | Files | Refs | README | LICENSE

default.nix (400B)


      1 { stdenv, gmp, bison, lib, flex }:
      2 
      3 stdenv.mkDerivation rec {
      4   pname = "ratio";
      5   version = "0.1";
      6 
      7   src = ./.;
      8 
      9   makeFlags = "PREFIX=$(out)";
     10 
     11   nativeBuildInputs = [ bison flex ];
     12   buildInputs = [ gmp ];
     13 
     14   meta = with lib; {
     15     description = "ratio calculator";
     16     homepage = "http://git.jb55.com/ratio";
     17     maintainers = with maintainers; [ jb55 ];
     18     license = licenses.gpl3Only;
     19   };
     20 }