Commit 8b567c66 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python312Packages.language-data: refactor

parent 6e5ddb43
Loading
Loading
Loading
Loading
+6 −5
Original line number Diff line number Diff line
@@ -10,23 +10,23 @@
buildPythonPackage rec {
  pname = "language-data";
  version = "1.0.1";
  format = "pyproject";
  pyproject = true;

  disabled = pythonOlder "3.6";

  src = fetchFromGitHub {
    owner = "rspeer";
    repo = "language_data";
    rev = "v${version}";
    sha256 = "51TUVHXPHG6ofbnxI6+o5lrtr+QCIpGKu+OjDK3l7Mc=";
    rev = "refs/tags/v${version}";
    hash = "sha256-51TUVHXPHG6ofbnxI6+o5lrtr+QCIpGKu+OjDK3l7Mc=";
  };

  nativeBuildInputs = [
  build-system = [
    poetry-core
    setuptools
  ];

  propagatedBuildInputs = [
  dependencies = [
    marisa-trie
  ];

@@ -40,6 +40,7 @@ buildPythonPackage rec {
  meta = with lib; {
    description = "Supplement module for langcodes";
    homepage = "https://github.com/rspeer/language_data";
    changelog = "https://github.com/rspeer/language_data/releases/tag/v${version}";
    license = licenses.mit;
    maintainers = with maintainers; [ fab ];
  };