Unverified Commit f0f49ef6 authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

regrippy: 2.0.1 -> 2.0.2 (#453131)

parents 17cc68c8 4b3ad141
Loading
Loading
Loading
Loading
+15 −14
Original line number Diff line number Diff line
{
  lib,
  python3,
  fetchFromGitHub,
  python3Packages,
  fetchPypi,
}:

python3.pkgs.buildPythonApplication {
  pname = "regippy";
  version = "2.0.1";
let
  pname = "regrippy";
  version = "2.0.2";
in
python3Packages.buildPythonApplication {
  inherit pname version;
  pyproject = true;

  src = fetchFromGitHub {
    owner = "airbus-cert";
    repo = "regrippy";
    rev = "05c9db999853c47af1d15f92f1a34aa2441e8882";
    hash = "sha256-gS7qVPlXwn6UXRXPN5ahPmQL3JpwmESUEi0KKAzOo+8=";
  src = fetchPypi {
    inherit pname version;
    hash = "sha256-43Wh5iQE1ihD8aGxDmmwKDkPeMfySP0mdk0XhrVefyc=";
  };

  postInstall = ''
    mv $out/bin/regrip.py $out/bin/regrippy
  '';

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

  dependencies = [
    python3.pkgs.importlib-resources
    python3.pkgs.python-registry
  dependencies = with python3Packages; [
    importlib-resources
    python-registry
  ];

  meta = {