nixpkgs/pkgs/development/tools/remarshal/default.nix

28 lines
669 B
Nix
Raw Normal View History

2016-12-30 11:03:47 +00:00
{ stdenv, pythonPackages, fetchFromGitHub }:
2015-11-16 11:59:30 +00:00
2016-12-30 11:03:47 +00:00
pythonPackages.buildPythonApplication rec {
name = "remarshal-${version}";
version = "0.6.0";
2015-11-16 11:59:30 +00:00
src = fetchFromGitHub {
owner = "dbohdan";
repo = "remarshal";
2016-12-30 11:03:47 +00:00
rev = "v${version}";
sha256 = "0jslawpzghv3chamrfddnyn5p5068kjxy8d38fxvi5h06qgfb4wp";
2015-11-16 11:59:30 +00:00
};
2016-12-30 11:03:47 +00:00
propagatedBuildInputs = with pythonPackages; [
dateutil
pytoml
pyyaml
];
2015-11-16 11:59:30 +00:00
2016-12-30 11:03:47 +00:00
meta = with stdenv.lib; {
2015-11-16 11:59:30 +00:00
description = "Convert between TOML, YAML and JSON";
license = licenses.mit;
homepage = https://github.com/dbohdan/remarshal;
maintainers = with maintainers; [ offline ];
platforms = platforms.linux;
2015-11-16 11:59:30 +00:00
};
}