mirror of
https://github.com/baairon/torlink.git
synced 2026-07-08 18:28:22 +02:00
* nix: init 1.0.0-unstable rev 6902733
* nix: add install instructions
* nix: update 1.0.0 -> 1.1.1
35 lines
688 B
Nix
35 lines
688 B
Nix
{
|
|
description = "Torlink is a torrent finder that lives in your terminal, with zero setup and nothing to configure.";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
};
|
|
|
|
outputs =
|
|
{ self, nixpkgs }:
|
|
|
|
let
|
|
systems = [
|
|
"x86_64-linux"
|
|
];
|
|
forAllSystems = nixpkgs.lib.genAttrs systems;
|
|
|
|
in
|
|
{
|
|
packages = forAllSystems (
|
|
system:
|
|
let
|
|
pkgs = nixpkgs.legacyPackages.${system};
|
|
in
|
|
{
|
|
default = pkgs.callPackage ./nix/package.nix { };
|
|
}
|
|
);
|
|
overlays.default = final: prev: {
|
|
torlink = final.callPackage ./nix/package.nix { };
|
|
};
|
|
|
|
};
|
|
|
|
}
|