11 rustPlatform.buildRustPackage rec {
15 src = fetchFromGitHub {
16 owner = "chasinglogic";
19 hash = "sha256-bo1bac/K8HMZaeLVYZRqYOS8p+62suGlgSyYz8Atj+0=";
22 cargoHash = "sha256-Ywfn+6qdKD9CG2/xdHR2XDsj5LF5XPJ2+XR5H1o2iXk=";
23 nativeBuildInputs = [ pkg-config ];
24 buildInputs = [ openssl git gitls ]
25 ++ lib.optionals stdenv.hostPlatform.isDarwin [
26 darwin.apple_sdk.frameworks.SystemConfiguration
30 # Checking for files in the git repo (git ls-files),
31 # That obviously does not work with nix
32 "--skip=test_get_project_files"
36 description = "FOSS License management tool for your projects";
37 homepage = "https://github.com/chasinglogic/licensure";
38 license = licenses.gpl3Plus;
39 mainProgram = "licensure";
40 maintainers = [ maintainers.soispha ];
41 platforms = platforms.linux ++ platforms.darwin;