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: db8198909ff1
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 739cf7d8edc1
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Mar 15, 2019

  1. Copy the full SHA
    739cf7d View commit details
Showing with 7 additions and 6 deletions.
  1. +7 −6 pkgs/development/python-modules/restructuredtext_lint/default.nix
Original file line number Diff line number Diff line change
@@ -1,33 +1,34 @@
{ lib
, buildPythonPackage
, fetchPypi
, isPy37
, docutils
, nose
, stdenv
, flake8
, pyyaml
, testtools
}:

buildPythonPackage rec {
pname = "restructuredtext_lint";
version = "1.2.2";

# https://github.com/twolfson/restructuredtext-lint/pull/47
disabled = isPy37;

src = fetchPypi {
inherit pname version;
sha256 = "82880a8de8a41bfc84f533744091b1ead8e2ab9ad6c0a3f60f4750ef6c802350";
};

checkInputs = [ nose flake8 pyyaml testtools ];
checkInputs = [ nose testtools ];
propagatedBuildInputs = [ docutils ];

checkPhase = ''
${stdenv.shell} test.sh
nosetests --nocapture
'';

meta = {
description = "reStructuredText linter";
homepage = https://github.com/twolfson/restructuredtext-lint;
license = lib.licenses.unlicense;
};
}
}