{
description = "Flake utils demo";
inputs = {
flake-utils.url = "github:numtide/flake-utils";
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
};
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system:
let pkgs = import nixpkgs {inherit system;}; in
{
packages.default = pkgs.rustPlatform.buildRustPackage {
pname = "memo-passwords";
version = "0.1.0";
src = ./.;
useFetchCargoVendor = true;
cargoHash = "sha256-mP4ptnR6nXZcxVPv40BfHdDuDXL8t23q7v87IL8xaWs=";
meta = with pkgs.lib; {
description = "A program to generate passwords that you can remember";
homepage = "https://codeberg.org/motte/memo-passwords";
license = licenses.mit;
platforms = platforms.linux;
maintainers = with maintainers; [ miampf ];
};
};
}
);
}