nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 37 lines 814 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools-scm, 6 alarmdecoder, 7 pytestCheckHook, 8}: 9 10buildPythonPackage rec { 11 pname = "adext"; 12 version = "0.4.7"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "ajschmidt8"; 17 repo = "adext"; 18 tag = "v${version}"; 19 hash = "sha256-cZMA8/t24xk5b1At2LQWeDWuRfPcXBCXpl2T70YxZeA="; 20 }; 21 22 build-system = [ setuptools-scm ]; 23 24 dependencies = [ alarmdecoder ]; 25 26 nativeCheckInputs = [ pytestCheckHook ]; 27 28 pythonImportsCheck = [ "adext" ]; 29 30 meta = { 31 description = "Python extension for AlarmDecoder"; 32 homepage = "https://github.com/ajschmidt8/adext"; 33 changelog = "https://github.com/ajschmidt8/adext/releases/tag/${src.tag}"; 34 license = with lib.licenses; [ mit ]; 35 maintainers = with lib.maintainers; [ fab ]; 36 }; 37}