Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 35 lines 671 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, setuptools-scm 5, alarmdecoder 6}: 7 8buildPythonPackage rec { 9 pname = "adext"; 10 version = "0.4.1"; 11 12 src = fetchPypi { 13 inherit pname version; 14 sha256 = "1yz1rpfvhbf7kfjck5vadbj9rd3bkx5248whaa3impdrjh7vs03x"; 15 }; 16 17 nativeBuildInputs = [ 18 setuptools-scm 19 ]; 20 21 propagatedBuildInputs = [ 22 alarmdecoder 23 ]; 24 25 # Tests are not published yet 26 doCheck = false; 27 pythonImportsCheck = [ "adext" ]; 28 29 meta = with lib; { 30 description = "Python extension for AlarmDecoder"; 31 homepage = "https://github.com/ajschmidt8/adext"; 32 license = with licenses; [ mit ]; 33 maintainers = with maintainers; [ fab ]; 34 }; 35}