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}";
|
2018-01-07 13:17:49 +00:00
|
|
|
version = "0.7.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}";
|
2018-01-07 13:17:49 +00:00
|
|
|
sha256 = "1wsgvzfp40lvly7nyyhv9prip4vi32rfc8kdji587jpw28zc1dfb";
|
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 ];
|
2015-11-18 10:33:50 +00:00
|
|
|
platforms = platforms.linux;
|
2015-11-16 11:59:30 +00:00
|
|
|
};
|
|
|
|
}
|