summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/commonmark
diff options
context:
space:
mode:
authorRobert Schütz <robert.schuetz@stud.uni-heidelberg.de>2018-03-17 15:12:00 +0100
committerRobert Schütz <robert.schuetz@stud.uni-heidelberg.de>2018-03-17 15:17:31 +0100
commitb549f18b6c10d256a40979af16060b00427efd1b (patch)
tree8e77c7a7290e0ab81af47c66d645131fb05f689d /pkgs/development/python-modules/commonmark
parentMerge pull request #36986 from ryantm/auto-update/fricas (diff)
downloadnixpkgs-b549f18b6c10d256a40979af16060b00427efd1b.tar.gz
pythonPackages.CommonMark: move expression
Diffstat (limited to 'pkgs/development/python-modules/commonmark')
-rw-r--r--pkgs/development/python-modules/commonmark/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/commonmark/default.nix b/pkgs/development/python-modules/commonmark/default.nix
new file mode 100644
index 000000000000..dcc741f87350
--- /dev/null
+++ b/pkgs/development/python-modules/commonmark/default.nix
@@ -0,0 +1,24 @@
+{ lib, buildPythonPackage, fetchPypi, flake8, glibcLocales, future }:
+
+buildPythonPackage rec {
+ pname = "CommonMark";
+ version = "0.6.3";
+
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "ee5a88f23678794592efe3fc11033f17fc77b3296a85f5e1d5b715f8e110a773";
+ };
+
+ LC_ALL="en_US.UTF-8";
+
+ doCheck = false;
+
+ buildInputs = [ flake8 glibcLocales ];
+ propagatedBuildInputs = [ future ];
+
+ meta = with lib; {
+ description = "Python parser for the CommonMark Markdown spec";
+ homepage = https://github.com/rolandshoemaker/CommonMark-py;
+ license = licenses.bsd3;
+ };
+}