Merge pull request #213417 from dotlambda/airtouch4pyapi-1.0.8
python310Packages.airtouch4pyapi: 1.0.5 -> 1.0.8
This commit is contained in:
commit
713cb82825
|
@ -1,14 +1,13 @@
|
|||
{ 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
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue