
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
39 lines
822 B
Nix
39 lines
822 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
pyparsing,
|
|
pytestCheckHook,
|
|
hypothesis,
|
|
hs-dbus-signature,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "dbus-signature-pyparsing";
|
|
version = "0.4.1";
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "stratis-storage";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-+jY8kg3jBDpZr5doih3DiyUEcSskq7TgubmW3qdBoZM=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ pyparsing ];
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
hypothesis
|
|
hs-dbus-signature
|
|
];
|
|
|
|
pythonImportsCheck = [ "dbus_signature_pyparsing" ];
|
|
|
|
meta = with lib; {
|
|
description = "Parser for a D-Bus Signature";
|
|
homepage = "https://github.com/stratis-storage/dbus-signature-pyparsing";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ nickcao ];
|
|
};
|
|
}
|