File nix-user-chroot.spec of Package nix-user-chroot
#
# spec file for package nix-user-chroot
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2022 Luciano Santos <luc14n0@opensuse.org>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name:           nix-user-chroot
Version:        1.2.2+53
Release:        0
Summary:        Run and install Nix without root privilege
License:        MIT
#Group:          #
Url:            https://github.com/nix-community/nix-user-chroot
Source0:        %{name}-%{version}.tar.zst
Source1:        vendor.tar.zst
Source2:        cargo_config
BuildRequires:  cargo
BuildRequires:  cargo-packaging
BuildRequires:  zstd
%description
Nix-user-chroot is a Rust rewrite of lethalman's version that
clarifies licensing, and adds the possibility of using Nix's
sandbox.
%prep
%autosetup -p 1 -a 1
install -m 644 %{SOURCE2} -D .cargo/config
%build
%{cargo_build}
%install
%{cargo_install}
%files
%license LICENSE
%doc README.md
%{_bindir}/nix-user-chroot
%changelog