Unverified Commit f3b6f0d8 authored by Ivan Mincik's avatar Ivan Mincik Committed by GitHub
Browse files

stac-validator: 3.11.0 -> 4.1.0 (#507268)

parents 31f0c950 8f4891f6
Loading
Loading
Loading
Loading
+16 −7
Original line number Diff line number Diff line
{
  lib,
  fetchFromGitHub,
  python3Packages,
}:
  buildPythonPackage,

python3Packages.buildPythonPackage rec {
  # build systems
  setuptools,
  # runtime deps
  click,
  jsonschema,
  pyyaml,
  requests,
  tqdm,
}:
buildPythonPackage rec {
  pname = "stac-validator";
  version = "3.11.0";
  version = "4.1.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "stac-utils";
    repo = "stac-validator";
    tag = "v${version}";
    hash = "sha256-5wcnEdk8+/stdJVQ97Me/+H3GrS7DA+Nd0OQtPEXDl4=";
    hash = "sha256-qO1DRYpPn+zarHTj2mZQ2LJ2uhmS1bax6Yxy035ZEUA=";
  };

  build-system = [ python3Packages.setuptools ];
  build-system = [ setuptools ];

  pythonRelaxDeps = [
    "click"
  ];

  dependencies = with python3Packages; [
  dependencies = [
    click
    jsonschema
    pyyaml
    requests
    tqdm
  ];

  pythonImportsCheck = [ "stac_validator" ];
+2 −0
Original line number Diff line number Diff line
@@ -1630,6 +1630,8 @@ with pkgs;
    haskellPackages.generateOptparseApplicativeCompletions [ "cabal2nix" ] haskellPackages.cabal2nix
  );

  stac-validator = with python3Packages; toPythonApplication stac-validator;

  stack2nix =
    with haskell.lib;
    overrideCabal (justStaticExecutables haskellPackages.stack2nix) (_: {
+2 −0
Original line number Diff line number Diff line
@@ -18486,6 +18486,8 @@ self: super: with self; {
  stable-baselines3 = callPackage ../development/python-modules/stable-baselines3 { };
  stac-validator = callPackage ../development/python-modules/stac-validator { };
  stack-data = callPackage ../development/python-modules/stack-data { };
  stackprinter = callPackage ../development/python-modules/stackprinter { };