Files
nixpkgs/pkgs/by-name/li/licensure/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

44 lines
974 B
Nix

{
lib,
rustPlatform,
fetchFromGitHub,
pkg-config,
openssl,
git,
gitls,
}:
rustPlatform.buildRustPackage rec {
pname = "licensure";
version = "0.8.0";
src = fetchFromGitHub {
owner = "chasinglogic";
repo = "licensure";
rev = version;
hash = "sha256-3kZzYDKMLRdYzxa9+wVeTFJk186MJZfGfzRXgY9tI4Y=";
};
cargoHash = "sha256-b3Vb8beULbLQuBORcE5nWuHkqDmalexJick9Ct5+iUM=";
nativeBuildInputs = [ pkg-config ];
buildInputs = [
openssl
git
gitls
];
checkFlags = [
# Checking for files in the git repo (git ls-files),
# That obviously does not work with nix
"--skip=test_get_project_files"
];
meta = with lib; {
description = "FOSS License management tool for your projects";
homepage = "https://github.com/chasinglogic/licensure";
license = licenses.gpl3Plus;
mainProgram = "licensure";
maintainers = [ maintainers.bpeetz ];
platforms = platforms.linux ++ platforms.darwin;
};
}