at 23.05-pre 63 lines 1.2 kB view raw
1{ lib 2, breezy 3, build 4, buildPythonPackage 5, fetchPypi 6, fetchpatch 7, git 8, mock 9, pep517 10, pytestCheckHook 11, toml 12, pythonOlder 13}: 14 15buildPythonPackage rec { 16 pname = "check-manifest"; 17 version = "0.48"; 18 format = "setuptools"; 19 20 disabled = pythonOlder "3.6"; 21 22 src = fetchPypi { 23 inherit pname version; 24 hash = "sha256-O1dfHa3nvrMHjvS/M6lFGYNEV8coHbxyaxXFRmtVxlc="; 25 }; 26 27 patches = [ 28 # Fix git submodule tests using file: protocol 29 (fetchpatch { 30 url = "https://github.com/mgedmin/check-manifest/pull/159.patch"; 31 hash = "sha256-CDtuIoHgP4THLt+xF32C/OrjakwPOEVTKUh5JuQB5wM="; 32 }) 33 ]; 34 35 propagatedBuildInputs = [ 36 build 37 pep517 38 toml 39 ]; 40 41 checkInputs = [ 42 breezy 43 git 44 mock 45 pytestCheckHook 46 ]; 47 48 disabledTests = [ 49 # Test wants to setup a venv 50 "test_build_sdist_pep517_isolated" 51 ]; 52 53 pythonImportsCheck = [ 54 "check_manifest" 55 ]; 56 57 meta = with lib; { 58 description = "Check MANIFEST.in in a Python source package for completeness"; 59 homepage = "https://github.com/mgedmin/check-manifest"; 60 license = licenses.mit; 61 maintainers = with maintainers; [ lewo ]; 62 }; 63}