Loading pkgs/by-name/us/userborn/package.nix +8 −14 Original line number Diff line number Diff line Loading @@ -2,36 +2,29 @@ lib, rustPlatform, fetchFromGitHub, makeBinaryWrapper, mkpasswd, libxcrypt, nixosTests, nix-update-script, }: rustPlatform.buildRustPackage rec { pname = "userborn"; version = "0.2.0"; version = "0.3.0"; src = fetchFromGitHub { owner = "nikstur"; repo = "userborn"; rev = version; hash = "sha256-LEKdgmw1inBOi0sriG8laCrtx0ycqR5ftdnmszadx3U="; hash = "sha256-ABePye1zuGDH74BL6AP05rR9eBOYu1SoVpd2TcZQMW8="; }; sourceRoot = "${src.name}/rust/userborn"; cargoHash = "sha256-Pjzu6db2WomNsC+jNK1fr1u7koZwUvWPIY5JHMo1gkA="; cargoHash = "sha256-/S2rkZyXHN5NiW9TFhKguqtf/udFcDOTfV2jYRMV14s="; nativeBuildInputs = [ makeBinaryWrapper ]; nativeBuildInputs = [ rustPlatform.bindgenHook ]; buildInputs = [ mkpasswd ]; nativeCheckInputs = [ mkpasswd ]; postInstall = '' wrapProgram $out/bin/userborn --prefix PATH : ${lib.makeBinPath [ mkpasswd ]} ''; buildInputs = [ libxcrypt ]; stripAllList = [ "bin" ]; Loading @@ -51,8 +44,9 @@ rustPlatform.buildRustPackage rec { meta = with lib; { homepage = "https://github.com/nikstur/userborn"; description = "Declaratively bear (manage) Linux users and groups"; changelog = "https://github.com/nikstur/userborn/blob/${version}/CHANGELOG.md"; license = licenses.mit; platforms = platforms.linux; platforms = platforms.unix; maintainers = with lib.maintainers; [ nikstur ]; mainProgram = "userborn"; }; Loading Loading
pkgs/by-name/us/userborn/package.nix +8 −14 Original line number Diff line number Diff line Loading @@ -2,36 +2,29 @@ lib, rustPlatform, fetchFromGitHub, makeBinaryWrapper, mkpasswd, libxcrypt, nixosTests, nix-update-script, }: rustPlatform.buildRustPackage rec { pname = "userborn"; version = "0.2.0"; version = "0.3.0"; src = fetchFromGitHub { owner = "nikstur"; repo = "userborn"; rev = version; hash = "sha256-LEKdgmw1inBOi0sriG8laCrtx0ycqR5ftdnmszadx3U="; hash = "sha256-ABePye1zuGDH74BL6AP05rR9eBOYu1SoVpd2TcZQMW8="; }; sourceRoot = "${src.name}/rust/userborn"; cargoHash = "sha256-Pjzu6db2WomNsC+jNK1fr1u7koZwUvWPIY5JHMo1gkA="; cargoHash = "sha256-/S2rkZyXHN5NiW9TFhKguqtf/udFcDOTfV2jYRMV14s="; nativeBuildInputs = [ makeBinaryWrapper ]; nativeBuildInputs = [ rustPlatform.bindgenHook ]; buildInputs = [ mkpasswd ]; nativeCheckInputs = [ mkpasswd ]; postInstall = '' wrapProgram $out/bin/userborn --prefix PATH : ${lib.makeBinPath [ mkpasswd ]} ''; buildInputs = [ libxcrypt ]; stripAllList = [ "bin" ]; Loading @@ -51,8 +44,9 @@ rustPlatform.buildRustPackage rec { meta = with lib; { homepage = "https://github.com/nikstur/userborn"; description = "Declaratively bear (manage) Linux users and groups"; changelog = "https://github.com/nikstur/userborn/blob/${version}/CHANGELOG.md"; license = licenses.mit; platforms = platforms.linux; platforms = platforms.unix; maintainers = with lib.maintainers; [ nikstur ]; mainProgram = "userborn"; }; Loading