remarshal: use python3 instead of python2

Officially both python2 and 3 are supported.
This commit is contained in:
Peter Hoeg 2018-04-21 22:30:59 +08:00
parent 6c064e6b1f
commit 3e3b5895ca

View File

@ -1,7 +1,7 @@
{ stdenv, pythonPackages, fetchFromGitHub }: { stdenv, python3Packages, fetchFromGitHub }:
pythonPackages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
name = "remarshal-${version}"; pname = "remarshal";
version = "0.7.0"; version = "0.7.0";
src = fetchFromGitHub { src = fetchFromGitHub {
@ -11,10 +11,8 @@ pythonPackages.buildPythonApplication rec {
sha256 = "1wsgvzfp40lvly7nyyhv9prip4vi32rfc8kdji587jpw28zc1dfb"; sha256 = "1wsgvzfp40lvly7nyyhv9prip4vi32rfc8kdji587jpw28zc1dfb";
}; };
propagatedBuildInputs = with pythonPackages; [ propagatedBuildInputs = with python3Packages; [
dateutil dateutil pytoml pyyaml
pytoml
pyyaml
]; ];
meta = with stdenv.lib; { meta = with stdenv.lib; {