depot/third_party/nixpkgs/pkgs/development/python-modules/check-manifest/default.nix
Default email 1ae14203fc Project import generated by Copybara.
GitOrigin-RevId: 68398d2dd50efc2d878bf0f83bbc8bc323b6b0e0
2021-01-17 01:15:33 +01:00

27 lines
772 B
Nix

{ lib, stdenv, buildPythonPackage, fetchPypi, pep517, toml, mock, breezy, git, build }:
buildPythonPackage rec {
pname = "check-manifest";
version = "0.45";
src = fetchPypi {
inherit pname version;
sha256 = "636b65a3b685374ad429ff22fe213966765b145f08bc560c8d033b604c7bee4c";
};
# Test requires filesystem access
postPatch = ''
substituteInPlace tests.py --replace "test_build_sdist" "no_test_build_sdist"
'';
propagatedBuildInputs = [ build pep517 toml ];
checkInputs = [ mock breezy git ];
meta = with lib; {
homepage = "https://github.com/mgedmin/check-manifest";
description = "Check MANIFEST.in in a Python source package for completeness";
license = licenses.mit;
maintainers = with maintainers; [ lewo ];
};
}