diff --git a/composer.json b/composer.json index 926c527..fe3ab8e 100644 --- a/composer.json +++ b/composer.json @@ -9,6 +9,7 @@ } }, "require": { - "simplesamlphp/simplesamlphp": "^2.2" + "simplesamlphp/simplesamlphp": "^2.2", + "erusev/parsedown": "^1.7" } } diff --git a/composer.lock b/composer.lock index f577c20..910f8df 100644 --- a/composer.lock +++ b/composer.lock @@ -4,8 +4,58 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "b567bc66a44ff70e79adbfbb3f5497b9", + "content-hash": "ff3e880d12fcc9e781251e2a3f3f3056", "packages": [ + { + "name": "erusev/parsedown", + "version": "1.7.4", + "source": { + "type": "git", + "url": "https://github.com/erusev/parsedown.git", + "reference": "cb17b6477dfff935958ba01325f2e8a2bfa6dab3" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/erusev/parsedown/zipball/cb17b6477dfff935958ba01325f2e8a2bfa6dab3", + "reference": "cb17b6477dfff935958ba01325f2e8a2bfa6dab3", + "shasum": "" + }, + "require": { + "ext-mbstring": "*", + "php": ">=5.3.0" + }, + "require-dev": { + "phpunit/phpunit": "^4.8.35" + }, + "type": "library", + "autoload": { + "psr-0": { + "Parsedown": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Emanuil Rusev", + "email": "hello@erusev.com", + "homepage": "http://erusev.com" + } + ], + "description": "Parser for Markdown.", + "homepage": "http://parsedown.org", + "keywords": [ + "markdown", + "parser" + ], + "support": { + "issues": "https://github.com/erusev/parsedown/issues", + "source": "https://github.com/erusev/parsedown/tree/1.7.x" + }, + "time": "2019-12-30T22:54:17+00:00" + }, { "name": "gettext/gettext", "version": "v5.7.0", diff --git a/nix/package.nix b/nix/package.nix index 1b2e47c..795d9c5 100644 --- a/nix/package.nix +++ b/nix/package.nix @@ -4,7 +4,7 @@ php.buildComposerProject rec { src = ./..; pname = "pvv-nettsiden"; version = "0.0.1"; - vendorHash = "sha256-W+8tLv6X2l13LmN4e1mvGn23MDMhANUCoH3pQBNViQc="; + vendorHash = "sha256-sWC5E60toa95re2NugvHVPT+vKYXc1I6Z3rSqXxTUu0="; passthru.simplesamlphpPath = "share/php/pvv-nettsiden/vendor/simplesamlphp/simplesamlphp";