Merge pull request #194559 from dit7ya/cotton

cotton: init at unstable-2022-10-04

authored by Sandro and committed by GitHub aa92a344 68eac2f6

+27
+25
pkgs/development/tools/cotton/default.nix
··· 1 + { lib 2 + , rustPlatform 3 + , fetchFromGitHub 4 + }: 5 + 6 + rustPlatform.buildRustPackage rec { 7 + pname = "cotton"; 8 + version = "unstable-2022-10-04"; 9 + 10 + src = fetchFromGitHub { 11 + owner = "danielhuang"; 12 + repo = pname; 13 + rev = "30f3aa7ec6792f3e2dbafc9f4b009b1a6eadc755"; 14 + sha256 = "sha256-jq5aW6dViHTxh2btP5smtcyUSZ1EoMrQVN7K8zs1jJM="; 15 + }; 16 + 17 + cargoSha256 = "sha256-qpV3UriOidIk/0di9d8RjXvjcjgD6dXqg7wLAywI66o="; 18 + 19 + meta = with lib; { 20 + description = "A package manager for JavaScript projects"; 21 + homepage = "https://github.com/danielhuang/cotton"; 22 + license = licenses.gpl3Only; 23 + maintainers = with maintainers; [ dit7ya ]; 24 + }; 25 + }
+2
pkgs/top-level/all-packages.nix
··· 13547 13547 13548 13548 copper = callPackage ../development/compilers/copper {}; 13549 13549 13550 + cotton = callPackage ../development/tools/cotton { }; 13551 + 13550 13552 inherit (callPackages ../development/compilers/crystal { 13551 13553 llvmPackages = if stdenv.system == "aarch64-darwin" then llvmPackages_11 else llvmPackages_10; 13552 13554 })