Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 42 lines 1.1 kB view raw
1{ 2 lib, 3 stdenv, 4 fetchurl, 5 flex, 6 bison, 7}: 8 9stdenv.mkDerivation (finalAttrs: { 10 pname = "graplang"; 11 version = "1.46"; 12 13 outputs = [ 14 "out" 15 "man" 16 ]; 17 18 src = fetchurl { 19 url = "https://www.lunabase.org/~faber/Vault/software/grap/grap-${finalAttrs.version}.tar.gz"; 20 hash = "sha512-7n+jLANU/x+wGrpjwYAnf45fQ5M91SwraiCbvUKe6XhWtilhGoT2yTlLkPlTihETTkizLyssW5gj5gbwNHaooA=="; 21 }; 22 23 nativeBuildInputs = [ 24 flex 25 bison 26 ]; 27 28 meta = with lib; { 29 description = "Language for typesetting graphs"; 30 longDescription = '' 31 Grap is an Expressive language for describing graphs and incorporating 32 them in typeset documents. It is implemented as a preprocessor to 33 Kernigan's pic language for describing languages, so any system that can 34 use pic can use grap. For sure, TeX and groff can use it. 35 ''; 36 homepage = "https://www.lunabase.org/~faber/Vault/software/grap/"; 37 changelog = "https://github.com/snorerot13/grap/blob/master/CHANGES"; 38 license = licenses.bsd2; 39 maintainers = with maintainers; [ afh ]; 40 mainProgram = "grap"; 41 }; 42})