mirror of
https://github.com/tomasriveral/nixos.git
synced 2026-08-12 02:28:37 +02:00
27 lines
643 B
Nix
27 lines
643 B
Nix
_: {
|
|
perSystem = {pkgs, ... }: {
|
|
packages.patent = {lib, rustPlatform, fetchFromGitHub, ...}: rustPlatform.buildRustPackage (finalAttrs: {
|
|
pname = "patent";
|
|
version = "0.1.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "r14dd";
|
|
repo = "patent";
|
|
rev = "v${finalAttrs.version}";
|
|
hash = lib.fakeHash;
|
|
};
|
|
|
|
cargoHash = lib.fakeHash;
|
|
|
|
meta = with lib; {
|
|
description = "Prior-art search for code ideas across open-source registries";
|
|
homepage = "https://github.com/r14dd/patent";
|
|
license = with licenses; [ mit asl20 ];
|
|
maintainers = [ ];
|
|
platforms = platforms.all;
|
|
mainProgram = "patent";
|
|
};
|
|
});
|
|
};}
|
|
|