mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-17 18:34:38 +00:00
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
804 B
Nix
25 lines
804 B
Nix
{ lib, stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "tidyp";
|
|
version = "1.04";
|
|
|
|
src = fetchurl {
|
|
# downloads from a legacy GitHub download page from ~11 years ago
|
|
# project does not work with autoconf anymore and the configure script cannot be generated from the source download
|
|
url = "https://github.com/downloads/petdance/tidyp/${pname}-${version}.tar.gz";
|
|
sha256 = "0f5ky0ih4vap9c6j312jn73vn8m2bj69pl2yd3a5nmv35k9zmc10";
|
|
};
|
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
meta = with lib; {
|
|
description = "Program that can validate your HTML, as well as modify it to be more clean and standard";
|
|
mainProgram = "tidyp";
|
|
homepage = "http://tidyp.com/";
|
|
platforms = platforms.all;
|
|
maintainers = with maintainers; [ pSub ];
|
|
license = licenses.bsd3;
|
|
};
|
|
}
|