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