nixpkgs/pkgs/development/python-modules/adext/default.nix

36 lines
671 B
Nix
Raw Normal View History

2021-01-17 20:06:30 +00:00
{ lib
, buildPythonPackage
, fetchPypi
2021-03-03 22:57:34 +00:00
, setuptools-scm
2021-01-17 20:06:30 +00:00
, alarmdecoder
}:
buildPythonPackage rec {
pname = "adext";
2021-03-03 22:57:34 +00:00
version = "0.4.1";
2021-01-17 20:06:30 +00:00
src = fetchPypi {
inherit pname version;
2021-03-03 22:57:34 +00:00
sha256 = "1yz1rpfvhbf7kfjck5vadbj9rd3bkx5248whaa3impdrjh7vs03x";
2021-01-17 20:06:30 +00:00
};
2021-03-03 22:57:34 +00:00
nativeBuildInputs = [
setuptools-scm
];
2021-01-17 20:06:30 +00:00
2021-03-03 22:57:34 +00:00
propagatedBuildInputs = [
alarmdecoder
];
2021-01-17 20:06:30 +00:00
# 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 ];
};
}