1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-28 16:42:09 +00:00
nixpkgs/pkgs/development/tools/remarshal/default.nix
Peter Hoeg 3e3b5895ca remarshal: use python3 instead of python2
Officially both python2 and 3 are supported.
2018-04-22 10:12:22 +08:00

26 lines
654 B
Nix

{ stdenv, python3Packages, fetchFromGitHub }:
python3Packages.buildPythonApplication rec {
pname = "remarshal";
version = "0.7.0";
src = fetchFromGitHub {
owner = "dbohdan";
repo = "remarshal";
rev = "v${version}";
sha256 = "1wsgvzfp40lvly7nyyhv9prip4vi32rfc8kdji587jpw28zc1dfb";
};
propagatedBuildInputs = with python3Packages; [
dateutil pytoml pyyaml
];
meta = with stdenv.lib; {
description = "Convert between TOML, YAML and JSON";
license = licenses.mit;
homepage = https://github.com/dbohdan/remarshal;
maintainers = with maintainers; [ offline ];
platforms = platforms.linux;
};
}