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

View File

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

View File

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

View File

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

View File

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

View File

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