nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 53 lines 1.1 kB view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 gitUpdater, 6 autoreconfHook, 7 libtool, 8 pkg-config, 9 autoconf-archive, 10 frog, 11}: 12 13stdenv.mkDerivation (finalAttrs: { 14 pname = "frogdata"; 15 version = "0.22"; 16 17 src = fetchFromGitHub { 18 owner = "LanguageMachines"; 19 repo = "frogdata"; 20 tag = "v${finalAttrs.version}"; 21 hash = "sha256-N5AA3y18nPpqrnkDpnTweucz6l1aabQyosX4OwPBUzo="; 22 }; 23 24 nativeBuildInputs = [ 25 pkg-config 26 autoreconfHook 27 ]; 28 buildInputs = [ 29 libtool 30 autoconf-archive 31 ]; 32 33 passthru = { 34 updateScript = gitUpdater { rev-prefix = "v"; }; 35 tests = { 36 /** 37 Reverse dependencies. Does not respect overrides. 38 */ 39 reverseDependencies = lib.recurseIntoAttrs { 40 inherit frog; 41 }; 42 }; 43 }; 44 45 meta = { 46 description = "Data for Frog, a Tagger-Lemmatizer-Morphological-Analyzer-Dependency-Parser for Dutch"; 47 homepage = "https://languagemachines.github.io/frog"; 48 license = lib.licenses.gpl3; 49 platforms = lib.platforms.all; 50 maintainers = with lib.maintainers; [ roberth ]; 51 }; 52 53})