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