1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-29 04:26:32 +03:00
nixpkgs/pkgs/development/python-modules/parse/default.nix

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

37 lines
714 B
Nix
Raw Normal View History

{ lib, fetchFromGitHub
, buildPythonPackage
, setuptools
, pytestCheckHook
2017-08-23 21:32:24 -05:00
}:
buildPythonPackage rec {
pname = "parse";
version = "1.20.1";
format = "pyproject";
2017-08-23 21:32:24 -05:00
src = fetchFromGitHub {
owner = "r1chardj0n3s";
repo = "parse";
rev = "refs/tags/${version}";
hash = "sha256-FAAs39peR+Ibv0RKLrcnY2w0Z2EjVYyZ8U4HcbjTiew=";
2017-08-23 21:32:24 -05:00
};
postPatch = ''
rm .pytest.ini
'';
nativeBuildInputs = [
setuptools
];
nativeCheckInputs = [
pytestCheckHook
];
2017-08-23 21:32:24 -05:00
meta = with lib; {
homepage = "https://github.com/r1chardj0n3s/parse";
2017-08-23 21:32:24 -05:00
description = "parse() is the opposite of format()";
license = licenses.bsdOriginal;
maintainers = with maintainers; [ alunduil ];
};
}