flake/packages/rouge/default.nix
Max 079f83ba45 Major Upgrade/Refactor
- KoboldAI is no longer upstream maintained, so is now deprecated in
  nixified.ai

- InvokeAI: v2.3.1.post2 -> v3.3.0post3
- textgen: init at v1.7
- treewide: update flake inputs including nixpkgs
- treewide: add a bunch of new dependencies and upgrade old ones
2023-10-19 22:13:37 +01:00

32 lines
633 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, six
}:
buildPythonPackage rec {
pname = "rouge";
version = "1.0.1";
format = "setuptools";
src = fetchFromGitHub {
owner = "pltrdy";
repo = "rouge";
rev = version;
hash = "sha256-Xxq0N3mwy8+O8PrHNia9RovHS74+029Z+yhT7kdkLbk=";
};
pythonImportsCheck = [ "rouge" ];
propagatedBuildInputs = [ six ];
doCheck = false;
meta = with lib; {
description = "A full Python Implementation of the ROUGE Metric (not a wrapper)";
homepage = "https://github.com/pltrdy/rouge";
license = licenses.asl20;
maintainers = with maintainers; [ ];
};
}