diff options
author | markuskowa <markus.kowalewski@gmail.com> | 2024-01-01 23:02:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-01 23:02:58 +0100 |
commit | 58cbd011d6d46c3290a38e09304c5ac1bcafc6b5 (patch) | |
tree | 2587750849286d630e09148a9ceb08446378fc07 /pkgs/by-name/li | |
parent | dd11ba6f805822dd43d1c630f268c481235f9ccb (diff) | |
parent | 2ee82b8bb13551577468dc899035fd05ba188b78 (diff) | |
download | nixlib-58cbd011d6d46c3290a38e09304c5ac1bcafc6b5.tar nixlib-58cbd011d6d46c3290a38e09304c5ac1bcafc6b5.tar.gz nixlib-58cbd011d6d46c3290a38e09304c5ac1bcafc6b5.tar.bz2 nixlib-58cbd011d6d46c3290a38e09304c5ac1bcafc6b5.tar.lz nixlib-58cbd011d6d46c3290a38e09304c5ac1bcafc6b5.tar.xz nixlib-58cbd011d6d46c3290a38e09304c5ac1bcafc6b5.tar.zst nixlib-58cbd011d6d46c3290a38e09304c5ac1bcafc6b5.zip |
Merge pull request #276339 from soispha/licensure
licensure: Init at 0.3.2
Diffstat (limited to 'pkgs/by-name/li')
-rw-r--r-- | pkgs/by-name/li/licensure/package.nix | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/pkgs/by-name/li/licensure/package.nix b/pkgs/by-name/li/licensure/package.nix new file mode 100644 index 000000000000..476b5c18629d --- /dev/null +++ b/pkgs/by-name/li/licensure/package.nix @@ -0,0 +1,38 @@ +{ lib +, rustPlatform +, fetchFromGitHub +, pkg-config +, openssl +, git +, gitls +}: +rustPlatform.buildRustPackage rec { + pname = "licensure"; + version = "0.3.2"; + + src = fetchFromGitHub { + owner = "chasinglogic"; + repo = "licensure"; + rev = version; + hash = "sha256-rOD2H9TEoZ8JCjlg6feNQiAjvroVGqrlOkDHNZKXDoE="; + }; + + cargoHash = "sha256-ku0SI14pZmbhzE7RnK5kJY6tSMjRVKEMssC9e0Hq6hc="; + 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 = "A FOSS License management tool for your projects"; + homepage = "https://github.com/chasinglogic/licensure"; + license = licenses.gpl3Plus; + mainProgram = "licensure"; + maintainers = [ maintainers.soispha ]; + platforms = platforms.linux; + }; +} |