nixpkgs/pkgs/development/python-modules/rubymarshal/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
645 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchPypi, hypothesis, isPy3k }:
2018-05-27 16:13:14 +00:00
buildPythonPackage rec {
pname = "rubymarshal";
2020-08-16 17:31:15 +00:00
version = "1.2.7";
disabled = !isPy3k;
2018-05-27 16:13:14 +00:00
src = fetchPypi {
inherit pname version;
2020-08-16 17:31:15 +00:00
sha256 = "94aa84fa42393f773c8215fab679bd3b72bbdb9f7931643d3672184cde9981d9";
2018-05-27 16:13:14 +00:00
};
propagatedBuildInputs = [ hypothesis ];
# pypi doesn't distribute tests
doCheck = false;
pythonImportsCheck = [ "rubymarshal" ];
meta = with lib; {
homepage = "https://github.com/d9pouces/RubyMarshal/";
2018-05-27 16:13:14 +00:00
description = "Read and write Ruby-marshalled data";
license = licenses.wtfpl;
maintainers = [ maintainers.ryantm ];
};
}