nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 poetry-core,
6}:
7
8buildPythonPackage rec {
9 pname = "rubymarshal";
10 version = "1.2.10";
11 pyproject = true;
12
13 src = fetchPypi {
14 inherit pname version;
15 hash = "sha256-iZtG5khSANCHhY/1YpWIF2T/Umj2/fAbfsxOTgPT7Xw=";
16 };
17
18 build-system = [ poetry-core ];
19
20 # pypi doesn't distribute tests
21 doCheck = false;
22
23 pythonImportsCheck = [ "rubymarshal" ];
24
25 meta = {
26 description = "Read and write Ruby-marshalled data";
27 homepage = "https://github.com/d9pouces/RubyMarshal/";
28 license = lib.licenses.wtfpl;
29 maintainers = with lib.maintainers; [ ryantm ];
30 };
31}