Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: c8861f3bee1d
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 879a5c8d8f70
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Jun 1, 2019

  1. Copy the full SHA
    879a5c8 View commit details
Showing with 11 additions and 2 deletions.
  1. +11 −2 pkgs/development/python-modules/markdownsuperscript/default.nix
13 changes: 11 additions & 2 deletions pkgs/development/python-modules/markdownsuperscript/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{ stdenv, buildPythonPackage, fetchPypi, markdown }:
{ stdenv, buildPythonPackage, fetchPypi, markdown,
pytest, pytestrunner, pytestcov, coverage }:

buildPythonPackage rec {
pname = "MarkdownSuperscript";
@@ -11,7 +12,15 @@ buildPythonPackage rec {

propagatedBuildInputs = [ markdown ];

doCheck = false; # See https://github.com/NixOS/nixpkgs/pull/26985
postPatch = ''
# remove version bounds for Markdown dependency
sed 's/\["Markdown.*"\]/["Markdown"]/' -i setup.py
# remove version bounds for test dependencies
sed 's/=.*//' -i requirements/*.txt
'';

checkInputs = [ pytest pytestrunner pytestcov coverage ];

meta = {
description = "An extension to the Python Markdown package enabling superscript text";