Calculate net worth and taxes due on cryptocurrency
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

29 lines
900 B

{
description = "Worther - Calculate cryptocurrency taxes & net worth.";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-21.05";
flake-utils.url = "github:numtide/flake-utils";
};
# outputs = { self, nixpkgs, flake-utils, ... }: with nixpkgs.lib; let
# system = "x86_64-linux";
# pkgs = import nixpkgs { inherit system; };
# worther = pkgs.callPackage ./worther.nix { pkgs = pkgs; };
# in rec {
# packages.${system}.worther = worther;
# defaultPackage = packages.${system}.worther;
# };
outputs = { self, nixpkgs, flake-utils, ... }: with nixpkgs.lib;
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs { inherit system; };
worther = pkgs.callPackage ./worther.nix { pkgs = pkgs; };
in rec {
packages.worther = worther;
defaultPackage = self.packages.${system}.worther;
});
}