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.6.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 = "0jslawpzghv3chamrfddnyn5p5068kjxy8d38fxvi5h06qgfb4wp";
|
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 ];
|
2015-11-18 11:33:50 +01:00
|
|
|
platforms = platforms.linux;
|
2015-11-16 12:59:30 +01:00
|
|
|
};
|
|
|
|
}
|