3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/remarshal/default.nix
Pascal Bach d321f91fa1 remarshal: 0.6.0 -> 0.7.0
The checks in 0.6.0 did no longer work with the updated dependencies.
Updating to 0.7.0 fixes the issue.

The deps.nix file was used for the go version and is no longer required
as remarshal is now written in python.
2018-01-07 15:58:54 +01:00

28 lines
669 B
Nix

{ stdenv, pythonPackages, fetchFromGitHub }:
pythonPackages.buildPythonApplication rec {
name = "remarshal-${version}";
version = "0.7.0";
src = fetchFromGitHub {
owner = "dbohdan";
repo = "remarshal";
rev = "v${version}";
sha256 = "1wsgvzfp40lvly7nyyhv9prip4vi32rfc8kdji587jpw28zc1dfb";
};
propagatedBuildInputs = with pythonPackages; [
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;
};
}