jc: 1.10.7 -> 1.10.10

Tests were removed from the PyPi distribution, so we need to fetch from GitHub now.

See https://github.com/kellyjonbrazil/jc/issues/58
This commit is contained in:
Atemu 2020-05-10 15:41:44 +02:00 committed by Frederik Rietdijk
parent a8b8942c88
commit 88c4688c25

View File

@ -1,6 +1,6 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, fetchFromGitHub
, ruamel_yaml
, xmltodict
, pygments
@ -9,12 +9,14 @@
buildPythonPackage rec {
pname = "jc";
version = "1.10.7";
version = "1.10.10";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "198vsnh6j0nv9d7msnvw6qr1bzf0nffjsz7clm11bs7fh3ri3qxp";
src = fetchFromGitHub {
owner = "kellyjonbrazil";
repo = "jc";
rev = "v${version}";
sha256 = "1rkgk1d1gijic6l6rsvz5mpfhdj8l7qc60aqafj27s4yi5bbqrc7";
};
propagatedBuildInputs = [ ruamel_yaml xmltodict pygments ];