diff options
author | Peter Hoeg <peter@hoeg.com> | 2018-04-21 22:30:59 +0800 |
---|---|---|
committer | Peter Hoeg <peter@hoeg.com> | 2018-04-22 10:12:22 +0800 |
commit | 3e3b5895ca2088126219559768e412902b137ee0 (patch) | |
tree | 035b81137504d3e390b40b45a99a7b31ab14399a /pkgs/development/tools | |
parent | 6c064e6b1f34a8416f990db0cc617a7195f71588 (diff) | |
download | nixlib-3e3b5895ca2088126219559768e412902b137ee0.tar nixlib-3e3b5895ca2088126219559768e412902b137ee0.tar.gz nixlib-3e3b5895ca2088126219559768e412902b137ee0.tar.bz2 nixlib-3e3b5895ca2088126219559768e412902b137ee0.tar.lz nixlib-3e3b5895ca2088126219559768e412902b137ee0.tar.xz nixlib-3e3b5895ca2088126219559768e412902b137ee0.tar.zst nixlib-3e3b5895ca2088126219559768e412902b137ee0.zip |
remarshal: use python3 instead of python2
Officially both python2 and 3 are supported.
Diffstat (limited to 'pkgs/development/tools')
-rw-r--r-- | pkgs/development/tools/remarshal/default.nix | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/pkgs/development/tools/remarshal/default.nix b/pkgs/development/tools/remarshal/default.nix index baba4fd75ea9..23c9768f7e05 100644 --- a/pkgs/development/tools/remarshal/default.nix +++ b/pkgs/development/tools/remarshal/default.nix @@ -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; { |