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}";
|
2018-01-07 14:17:49 +01:00
|
|
|
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}";
|
2018-01-07 14:17:49 +01:00
|
|
|
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 ];
|
2015-11-18 11:33:50 +01:00
|
|
|
platforms = platforms.linux;
|
2015-11-16 12:59:30 +01:00
|
|
|
};
|
|
|
|
}
|