pythonPackages.editorconfig: refactor join with EditorConfig attr

This commit is contained in:
Chris Ostrouchov 2018-10-16 18:12:58 -04:00 committed by Frederik Rietdijk
parent bf98e3b446
commit 5508797159
2 changed files with 2 additions and 16 deletions

View file

@ -6,7 +6,7 @@
buildPythonPackage rec {
pname = "EditorConfig";
version = "0.12.0";
version = "0.12.1";
# fetchgit used to ensure test submodule is available
src = fetchgit {

View file

@ -2803,21 +2803,7 @@ in {
h2 = callPackage ../development/python-modules/h2 { };
editorconfig = buildPythonPackage rec {
name = "EditorConfig-${version}";
version = "0.12.1";
src = pkgs.fetchurl {
url = "mirror://pypi/e/editorconfig/${name}.tar.gz";
sha256 = "1qxqy9wfrpb2ldrk5nzidkpymc55lpf9lg3m8c8a5531jmbwhlwb";
};
meta = {
description = "EditorConfig File Locator and Interpreter for Python";
homepage = https://editorconfig.org/;
license = licenses.psfl;
};
};
editorconfig = callPackage ../development/python-modules/editorconfig { };
mock = buildPythonPackage (rec {
name = "mock-2.0.0";