2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, hypothesis, isPy3k }:
|
2018-05-27 17:13:14 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "rubymarshal";
|
2020-08-16 18:31:15 +01:00
|
|
|
version = "1.2.7";
|
2019-10-07 16:20:23 +01:00
|
|
|
disabled = !isPy3k;
|
2018-05-27 17:13:14 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-08-16 18:31:15 +01:00
|
|
|
sha256 = "94aa84fa42393f773c8215fab679bd3b72bbdb9f7931643d3672184cde9981d9";
|
2018-05-27 17:13:14 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ hypothesis ];
|
|
|
|
|
2020-11-06 04:22:55 +00:00
|
|
|
# pypi doesn't distribute tests
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "rubymarshal" ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/d9pouces/RubyMarshal/";
|
2018-05-27 17:13:14 +01:00
|
|
|
description = "Read and write Ruby-marshalled data";
|
|
|
|
license = licenses.wtfpl;
|
|
|
|
maintainers = [ maintainers.ryantm ];
|
|
|
|
};
|
|
|
|
}
|