nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at r-updates 55 lines 1.1 kB view raw
1{ 2 lib, 3 breezy, 4 build, 5 buildPythonPackage, 6 fetchFromGitHub, 7 git, 8 pep517, 9 pytestCheckHook, 10 setuptools, 11}: 12 13buildPythonPackage rec { 14 pname = "check-manifest"; 15 version = "0.51"; 16 pyproject = true; 17 18 src = fetchFromGitHub { 19 owner = "mgedmin"; 20 repo = "check-manifest"; 21 tag = version; 22 hash = "sha256-tT6xQZwqJIsyrO9BjWweIeNgYaopziewerVBk0mFVYg="; 23 }; 24 25 build-system = [ setuptools ]; 26 27 dependencies = [ 28 build 29 pep517 30 setuptools 31 ]; 32 33 nativeCheckInputs = [ 34 git 35 pytestCheckHook 36 ]; 37 38 checkInputs = [ breezy ]; 39 40 disabledTests = [ 41 # Test wants to setup a venv 42 "test_build_sdist_pep517_isolated" 43 ]; 44 45 pythonImportsCheck = [ "check_manifest" ]; 46 47 meta = { 48 description = "Check MANIFEST.in in a Python source package for completeness"; 49 homepage = "https://github.com/mgedmin/check-manifest"; 50 changelog = "https://github.com/mgedmin/check-manifest/blob/${version}/CHANGES.rst"; 51 license = lib.licenses.mit; 52 maintainers = with lib.maintainers; [ lewo ]; 53 mainProgram = "check-manifest"; 54 }; 55}