1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-25 02:26:19 +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.

35 lines
710 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.2";
format = "pyproject";
2017-08-23 21:32:24 -05:00
src = fetchFromGitHub {
owner = "r1chardj0n3s";
repo = "parse";
rev = "refs/tags/${version}";
hash = "sha256-i/H3E/Z8vqt2jLS8BaVHJuD2Fbi7TP7EeOjXAJ16bWg=";
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 ];
};
}