depot/third_party/nixpkgs/pkgs/development/python-modules/adext/default.nix
Default email 75ca762b89 Project import generated by Copybara.
GitOrigin-RevId: 29b0d4d0b600f8f5dd0b86e3362a33d4181938f9
2021-03-09 11:18:52 +08:00

35 lines
671 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, setuptools-scm
, alarmdecoder
}:
buildPythonPackage rec {
pname = "adext";
version = "0.4.1";
src = fetchPypi {
inherit pname version;
sha256 = "1yz1rpfvhbf7kfjck5vadbj9rd3bkx5248whaa3impdrjh7vs03x";
};
nativeBuildInputs = [
setuptools-scm
];
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 ];
};
}