Merge pull request #116308 from fabaff/bump-cmarkgfm

This commit is contained in:
Sandro 2021-03-26 00:28:45 +01:00 committed by GitHub
commit 8bf1bf3a3a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 28 additions and 17 deletions

View file

@ -1,25 +1,29 @@
{ lib, buildPythonPackage, fetchPypi, cffi, pytest }:
{ lib
, buildPythonPackage
, cffi
, fetchPypi
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "cmarkgfm";
version = "0.5.2";
version = "0.5.3";
src = fetchPypi {
inherit pname version;
sha256 = "e7d65b90645faa55c28886d01f658235af08b4c4edbf9d959518a17007dd20b4";
sha256 = "sha256-tqVJq6Mnq9mG1nSM8hyGN9dBx2hQ5/773vjSi/4TjjI=";
};
propagatedBuildInputs = [ cffi ];
checkInputs = [ pytest ];
checkInputs = [ pytestCheckHook ];
checkPhase = ''
py.test
'';
pythonImportsCheck = [ "cmarkgfm" ];
meta = with lib; {
description = "Minimal bindings to GitHub's fork of cmark";
homepage = "https://github.com/jonparrott/cmarkgfm";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -25,7 +25,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Using hardware wallets as SSH/GPG agent";
homepage = "https://github.com/romanz/trezor-agent";
license = licenses.gpl3;
license = licenses.lgpl3Only;
maintainers = with maintainers; [ np ];
};
}

View file

@ -16,6 +16,7 @@ buildPythonPackage rec {
homepage = "https://github.com/rhgrant10/ndjson";
description = "JsonDecoder";
platforms = platforms.unix;
license = licenses.gpl3Only;
maintainers = with maintainers; [ freezeboy ];
};
}

View file

@ -1,5 +1,4 @@
{ lib
, pythonOlder
, buildPythonPackage
, isPy3k
, fetchFromGitHub

View file

@ -28,7 +28,7 @@ buildPythonPackage rec {
meta = with lib; {
homepage = "https://salmon-mail.readthedocs.org/";
description = "Pythonic mail application server";
license = licenses.gpl3;
license = licenses.gpl3Only;
maintainers = with maintainers; [ jluttine ];
};
}

View file

@ -1,27 +1,34 @@
{ lib
, fetchFromGitHub
, buildPythonPackage
, fetchFromGitHub
, pytest-cov
, pytestCheckHook
, pytestcov
}:
buildPythonPackage rec {
pname = "semver";
version = "2.10.2";
version = "2.13.0";
src = fetchFromGitHub {
owner = "python-semver";
repo = "python-semver";
rev = version;
sha256 = "0yxjmcgk5iwp53l9z1cg0ajrj18i09ircs11ifpdrggzm8n1blf3";
sha256 = "sha256-IWTo/P9JRxBQlhtcH3JMJZZrwAA8EALF4dtHajWUc4w=";
};
preCheck = "rm -rf dist"; # confuses source vs dist imports in pytest
checkInputs = [ pytestCheckHook pytestcov ];
checkInputs = [
pytest-cov
pytestCheckHook
];
# Confuses source vs dist imports in pytest
preCheck = "rm -r dist";
pythonImportsCheck = [ "semver" ];
meta = with lib; {
description = "Python package to work with Semantic Versioning (http://semver.org/)";
homepage = "https://python-semver.readthedocs.io/en/latest/";
homepage = "https://python-semver.readthedocs.io/";
license = licenses.bsd3;
maintainers = with maintainers; [ np ];
};