depot/third_party/nixpkgs/pkgs/development/python-modules/rubymarshal/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

33 lines
681 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
hypothesis,
isPy3k,
}:
buildPythonPackage rec {
pname = "rubymarshal";
version = "1.2.7";
format = "setuptools";
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 ];
};
}