Files
nixpkgs/pkgs/by-name/co/cotton/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

31 lines
688 B
Nix

{
lib,
rustPlatform,
fetchFromGitHub,
}:
rustPlatform.buildRustPackage {
pname = "cotton";
version = "0-unstable-2023-09-13";
src = fetchFromGitHub {
owner = "danielhuang";
repo = "cotton";
rev = "df9d79a4b0bc4b140e87ddd7795924a93775a864";
sha256 = "sha256-ZMQaVMH8cuOb4PQ19g0pAFAMwP8bR60+eWFhiXk1bYE=";
};
cargoHash = "sha256-y162tjxPGZQiYBJxFk4QN9ZqSH8jrqa5Y961Sx2zrRs=";
meta = with lib; {
description = "Package manager for JavaScript projects";
mainProgram = "cotton";
homepage = "https://github.com/danielhuang/cotton";
license = licenses.gpl3Only;
maintainers = with maintainers; [
dit7ya
figsoda
];
};
}