summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/rubymarshal/default.nix
blob: 61fb9164acfa52958c573e988b194aa182b2d38c (plain)
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
27
28
29
30
31
{
  lib,
  buildPythonPackage,
  fetchPypi,
  poetry-core,
}:

buildPythonPackage rec {
  pname = "rubymarshal";
  version = "1.2.9";
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-OqTbHV2duO4SmP6O9+tfaSD7fKOJ/PmzX5dUW9eoBBg=";
  };

  build-system = [ poetry-core ];

  # pypi doesn't distribute tests
  doCheck = false;

  pythonImportsCheck = [ "rubymarshal" ];

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