571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
25 lines
778 B
Nix
25 lines
778 B
Nix
{ lib, buildNpmPackage, fetchFromGitHub }:
|
|
|
|
buildNpmPackage rec {
|
|
pname = "twspace-crawler";
|
|
version = "1.12.9";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "HitomaruKonpaku";
|
|
repo = "twspace-crawler";
|
|
rev = "7875e534b257d4ba5a0cf8179a4772c87005fee6"; # version not tagged
|
|
hash = "sha256-pA31ak0Rwy4Rc1fVz+4QV1lcTYGUmPOd61FtLQGN1ek=";
|
|
};
|
|
|
|
npmDepsHash = "sha256-2fsYeSZYzadLmikUJbuHE4XMAp38jTZvtRo9xgaZVzg=";
|
|
|
|
meta = with lib; {
|
|
description = "Script to monitor & download Twitter Spaces 24/7";
|
|
homepage = "https://github.com/HitomaruKonpaku/twspace-crawler";
|
|
changelog = "https://github.com/HitomaruKonpaku/twspace-crawler/blob/${src.rev}/CHANGELOG.md";
|
|
license = licenses.isc;
|
|
maintainers = [ ];
|
|
mainProgram = "twspace-crawler";
|
|
};
|
|
}
|