Unverified Commit 713cb828 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #213417 from dotlambda/airtouch4pyapi-1.0.8

python310Packages.airtouch4pyapi: 1.0.5 -> 1.0.8
parents 0afd77dc 06a60a56
Loading
Loading
Loading
Loading
+3 −13
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
, numpy
, pythonOlder
}:

buildPythonPackage rec {
  pname = "airtouch4pyapi";
  version = "1.0.5";
  version = "1.0.8";
  format = "setuptools";

  disabled = pythonOlder "3.6";
@@ -16,19 +15,10 @@ buildPythonPackage rec {
  src = fetchFromGitHub {
    owner = "LonePurpleWolf";
    repo = pname;
    # https://github.com/LonePurpleWolf/airtouch4pyapi/issues/5
    rev = "34783888846783c058fe79cec16feda45504f701";
    sha256 = "17c7fm72p085pg9msvsfdggbskvm12a6jlb5bw1cndrqsqcrxywx";
    rev = "refs/tags/v${version}";
    hash = "sha256-RiRwebumidn0nijL/e9J74ZYx0DASi1up5BTNxYoGEA=";
  };

  patches = [
    # https://github.com/LonePurpleWolf/airtouch4pyapi/pull/10
    (fetchpatch {
      url = "https://github.com/LonePurpleWolf/airtouch4pyapi/commit/5b5d91fad63495c83422e7a850897946ac95b25d.patch";
      hash = "sha256-tVlCLXuOJSqjbs0jj0iHCIXWZE8wmMV3ChzmE6uq3SM=";
    })
  ];

  propagatedBuildInputs = [
    numpy
  ];