nixpkgs/pkgs/tools/misc/savepagenow/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
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/'
2024-06-09 23:07:45 +02:00

27 lines
724 B
Nix

{ lib, python3Packages, fetchFromGitHub }:
python3Packages.buildPythonApplication rec {
pname = "savepagenow";
version = "1.1.1";
src = fetchFromGitHub {
owner = "pastpages";
repo = pname;
rev = "v${version}";
sha256 = "1lz6rc47cds9rb35jdf8n13gr61wdkh5jqzx4skikm1yrqkwjyhm";
};
propagatedBuildInputs = with python3Packages; [ click requests ];
# requires network access
doCheck = false;
meta = with lib; {
description = "Simple Python wrapper for archive.org's \"Save Page Now\" capturing service";
homepage = "https://github.com/pastpages/savepagenow";
license = licenses.mit;
maintainers = with maintainers; [ SuperSandro2000 ];
mainProgram = "savepagenow";
};
}