python3Packages.adext: init at 0.3
This commit is contained in:
parent
0bcd0167a4
commit
c361307da3
33
pkgs/development/python-modules/adext/default.nix
Normal file
33
pkgs/development/python-modules/adext/default.nix
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, alarmdecoder
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "adext";
|
||||||
|
version = "0.3";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "184qxw6i5ixnhgkjnby4zwn4jg90mxb8xy9vbg80x5w331p4z50f";
|
||||||
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace setup.py \
|
||||||
|
--replace "alarmdecoder==1.13.2" "alarmdecoder>=1.13.2"
|
||||||
|
'';
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ alarmdecoder ];
|
||||||
|
|
||||||
|
# Tests are not published yet
|
||||||
|
doCheck = false;
|
||||||
|
pythonImportsCheck = [ "adext" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Python extension for AlarmDecoder";
|
||||||
|
homepage = "https://github.com/ajschmidt8/adext";
|
||||||
|
license = with licenses; [ mit ];
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
|
};
|
||||||
|
}
|
@ -174,6 +174,8 @@ in {
|
|||||||
|
|
||||||
addic7ed-cli = callPackage ../development/python-modules/addic7ed-cli { };
|
addic7ed-cli = callPackage ../development/python-modules/addic7ed-cli { };
|
||||||
|
|
||||||
|
adext = callPackage ../development/python-modules/adext { };
|
||||||
|
|
||||||
adguardhome = callPackage ../development/python-modules/adguardhome { };
|
adguardhome = callPackage ../development/python-modules/adguardhome { };
|
||||||
|
|
||||||
advantage-air = callPackage ../development/python-modules/advantage-air { };
|
advantage-air = callPackage ../development/python-modules/advantage-air { };
|
||||||
|
Loading…
Reference in New Issue
Block a user