Commit 8f4891f6 authored by Augustin Trancart's avatar Augustin Trancart
Browse files

stac-validator: 3.11.0 -> 4.1.0

parent 4e5d3680
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
@@ -1636,6 +1636,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
@@ -18468,6 +18468,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 { };