summary refs log tree commit diff
path: root/pkgs/development/python-modules/rubymarshal/default.nix
blob: 51cec6f8602532e678778fa5d5d9bb57c38c05fd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ lib, buildPythonPackage, fetchPypi, hypothesis, isPy3k }:

buildPythonPackage rec {
  pname = "rubymarshal";
  version = "1.2.7";
  disabled = !isPy3k;

  src = fetchPypi {
    inherit pname version;
    sha256 = "94aa84fa42393f773c8215fab679bd3b72bbdb9f7931643d3672184cde9981d9";
  };

  propagatedBuildInputs = [ hypothesis ];

  # pypi doesn't distribute tests
  doCheck = false;

  pythonImportsCheck = [ "rubymarshal" ];

  meta = with lib; {
    homepage = "https://github.com/d9pouces/RubyMarshal/";
    description = "Read and write Ruby-marshalled data";
    license = licenses.wtfpl;
    maintainers = [ maintainers.ryantm ];
  };
}