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

28 lines
669 B
Nix
Raw Normal View History

2016-12-30 12:03:47 +01:00
{ stdenv, pythonPackages, fetchFromGitHub }:
2015-11-16 12:59:30 +01:00
2016-12-30 12:03:47 +01:00
pythonPackages.buildPythonApplication rec {
name = "remarshal-${version}";
version = "0.7.0";
2015-11-16 12:59:30 +01:00
src = fetchFromGitHub {
owner = "dbohdan";
repo = "remarshal";
2016-12-30 12:03:47 +01:00
rev = "v${version}";
sha256 = "1wsgvzfp40lvly7nyyhv9prip4vi32rfc8kdji587jpw28zc1dfb";
2015-11-16 12:59:30 +01:00
};
2016-12-30 12:03:47 +01:00
propagatedBuildInputs = with pythonPackages; [
dateutil
pytoml
pyyaml
];
2015-11-16 12:59:30 +01:00
2016-12-30 12:03:47 +01:00
meta = with stdenv.lib; {
2015-11-16 12:59:30 +01: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 12:59:30 +01:00
};
}