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
commit88c4688c253facc62c0a59b245d0b6cbb45a9c29
authorAtemu <atemu.main@gmail.com>
dateSun 10 May 2020, 15:41 (7 years ago)
parenta8b8942
pkgs/development/python-modules/jc/default.nix+7−5
@@ -1,6 +1,6 @@
11{ stdenv
22, buildPythonPackage
3−, fetchPypi
3+, fetchFromGitHub
44, ruamel_yaml
55, xmltodict
66, pygments
@@ -9,12 +9,14 @@
99
1010buildPythonPackage rec {
1111 pname = "jc";
12− version = "1.10.7";
12+ version = "1.10.10";
1313 disabled = isPy27;
1414
15− src = fetchPypi {
16− inherit pname version;
17− sha256 = "198vsnh6j0nv9d7msnvw6qr1bzf0nffjsz7clm11bs7fh3ri3qxp";
15+ src = fetchFromGitHub {
16+ owner = "kellyjonbrazil";
17+ repo = "jc";
18+ rev = "v${version}";
19+ sha256 = "1rkgk1d1gijic6l6rsvz5mpfhdj8l7qc60aqafj27s4yi5bbqrc7";
1820 };
1921
2022 propagatedBuildInputs = [ ruamel_yaml xmltodict pygments ];