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