8 buildPythonPackage rec {
9 pname = "git-url-parse";
11 format = "setuptools";
13 src = fetchFromGitHub {
15 repo = "git-url-parse";
17 hash = "sha256-+0V/C3wE02ppdDGn7iqdvmgsUwTR7THUakUilvkzoYg=";
21 substituteInPlace pytest.ini \
22 --replace " --cov giturlparse --cov-report term-missing" ""
26 # Manually set version because prb wants to get it from the git
27 # upstream repository (and we are installing from tarball instead)
28 env.PBR_VERSION = version;
30 propagatedBuildInputs = [
34 pythonImportsCheck = [ "giturlparse" ];
41 description = "A simple GIT URL parser";
42 homepage = "https://github.com/coala/git-url-parse";
43 changelog = "https://github.com/coala/git-url-parse/blob/${src.rev}/CHANGELOG.rst";
44 license = licenses.mit;
45 maintainers = with maintainers; [ blaggacao ];