1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 hypothesis,
6 isPy3k,
7}:
8
9buildPythonPackage rec {
10 pname = "rubymarshal";
11 version = "1.2.7";
12 format = "setuptools";
13 disabled = !isPy3k;
14
15 src = fetchPypi {
16 inherit pname version;
17 sha256 = "94aa84fa42393f773c8215fab679bd3b72bbdb9f7931643d3672184cde9981d9";
18 };
19
20 propagatedBuildInputs = [ hypothesis ];
21
22 # pypi doesn't distribute tests
23 doCheck = false;
24
25 pythonImportsCheck = [ "rubymarshal" ];
26
27 meta = with lib; {
28 homepage = "https://github.com/d9pouces/RubyMarshal/";
29 description = "Read and write Ruby-marshalled data";
30 license = licenses.wtfpl;
31 maintainers = [ maintainers.ryantm ];
32 };
33}