diff --git a/default.nix b/default.nix index a9b09fa..92b9257 100644 --- a/default.nix +++ b/default.nix @@ -1,22 +1,21 @@ { - pkgs ? import <nixpkgs> {}, - lib ? pkgs.lib, + lib, + rustPlatform, version ? "latest", ... }: -pkgs.rustPlatform.buildRustPackage { +rustPlatform.buildRustPackage { pname = "kittysay"; inherit version; src = ./.; cargoLock.lockFile = ./Cargo.lock; - doCheck = false; - - meta = with lib; { + meta = { description = "cowsay, but with a cute kitty :3"; homepage = "https://github.com/uncenter/kittysay"; - license = licenses.mit; - maintainers = [maintainers.uncenter]; + license = lib.licenses.gpl3Only; + maintainers = with lib.maintainers; [uncenter]; + mainProgram = "kittysay"; }; } diff --git a/flake.lock b/flake.lock index a3468a9..6294073 100644 --- a/flake.lock +++ b/flake.lock @@ -2,16 +2,16 @@ "nodes": { "nixpkgs": { "locked": { - "lastModified": 1707091808, - "narHash": "sha256-LahKBAfGbY836gtpVNnWwBTIzN7yf/uYM/S0g393r0Y=", + "lastModified": 1712791164, + "narHash": "sha256-3sbWO1mbpWsLepZGbWaMovSO7ndZeFqDSdX0hZ9nVyw=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "9f2ee8c91ac42da3ae6c6a1d21555f283458247e", + "rev": "1042fd8b148a9105f3c0aca3a6177fd1d9360ba5", "type": "github" }, "original": { "owner": "NixOS", - "ref": "nixos-23.11", + "ref": "nixos-unstable", "repo": "nixpkgs", "type": "github" } diff --git a/flake.nix b/flake.nix index d76a009..1ff99f5 100644 --- a/flake.nix +++ b/flake.nix @@ -1,7 +1,7 @@ { - description = "kittysay"; + description = "kittysay - cowsay, but with a cute kitty :3"; - inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11"; + inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; outputs = { self,