Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at python-updates 32 lines 631 B view raw
1{ 2 lib, 3 fetchFromGitHub, 4 rustPlatform, 5}: 6 7rustPlatform.buildRustPackage rec { 8 pname = "htmlq"; 9 version = "0.4.0"; 10 11 src = fetchFromGitHub { 12 owner = "mgdm"; 13 repo = "htmlq"; 14 rev = "v${version}"; 15 sha256 = "sha256-kZtK2QuefzfxxuE1NjXphR7otr+RYfMif/RSpR6TxY0="; 16 }; 17 18 cargoHash = "sha256-QUlR6PuOLbeAHzARtTo7Zn7fmjs2ET6TdXT4VgCYEVg="; 19 20 doCheck = false; 21 22 meta = with lib; { 23 description = "Like jq, but for HTML"; 24 homepage = "https://github.com/mgdm/htmlq"; 25 license = licenses.mit; 26 maintainers = with maintainers; [ 27 siraben 28 nerdypepper 29 ]; 30 mainProgram = "htmlq"; 31 }; 32}